diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-02-28 12:39:46 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-03-01 15:26:03 +0200 |
commit | e6eff721d7f341eb0c45e58f908bf3129c427b27 (patch) | |
tree | a6fa696a18aa45337c1d81fdfdd29ffee5d611ad /Documentation/index.rst | |
parent | 3ab7f65d6f1be61b64bf66a3a7959004cf82dc10 (diff) |
libcamera: pipeline: Fix double release of media devices
Media devices are acquired in the match() function of pipeline handlers,
and explicitly released if no match is found. The pipeline handler is
then deleted, which causes a second release of the media device in the
destructor. Fix this by removing the explicit release in the match()
function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Acked-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'Documentation/index.rst')
0 files changed, 0 insertions, 0 deletions