diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-09-09 13:14:13 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2013-09-09 13:14:24 -0400 |
commit | fb639741d70f05afc75b0daf3a684f714aafeb17 (patch) | |
tree | aab3ea1326168cf2bd3d5d27a412016313e288da /sys/uvch264 | |
parent | a41e8698b1ae62b18fd2449dfcb7c1b9d39d02b9 (diff) | |
download | gstreamer-plugins-bad-fb639741d70f05afc75b0daf3a684f714aafeb17.tar.gz |
uvch264src: Fix small mem leak
Diffstat (limited to 'sys/uvch264')
-rw-r--r-- | sys/uvch264/gstuvch264_src.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/uvch264/gstuvch264_src.c b/sys/uvch264/gstuvch264_src.c index 0c57efc48..2ab7575ef 100644 --- a/sys/uvch264/gstuvch264_src.c +++ b/sys/uvch264/gstuvch264_src.c @@ -1809,6 +1809,7 @@ xu_get_id (GstUvcH264Src * self) GST_DEBUG_OBJECT (self, "Found H264 XU unit : %d", unit_id); + libusb_free_config_descriptor (config); libusb_unref_device (device); return unit_id; } @@ -1816,6 +1817,7 @@ xu_get_id (GstUvcH264Src * self) } } } + libusb_free_config_descriptor (config); } } } |