diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-08 16:44:32 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-10 15:28:04 +0200 |
commit | 824ed85553cf65ba879b03e326c8647619d7ede1 (patch) | |
tree | f5dba98e6d2405b3099004cd21997b02655de0a9 /Documentation/theme/search.html | |
parent | 93a037efff7b8afd04aad76f6b6a4514acb6f670 (diff) |
libcamera: device_enumerator: Fix memory leak in error path
The DeviceEnumerator::create() function allocates a
DeviceEnumeratorUdev and fails to delete it in the error path, causing a
memory leak. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'Documentation/theme/search.html')
0 files changed, 0 insertions, 0 deletions