summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-02-28 12:39:46 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-03-01 15:26:03 +0200
commite6eff721d7f341eb0c45e58f908bf3129c427b27 (patch)
treea6fa696a18aa45337c1d81fdfdd29ffee5d611ad /utils
parent3ab7f65d6f1be61b64bf66a3a7959004cf82dc10 (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 'utils')
0 files changed, 0 insertions, 0 deletions