uvch264src: Fix small mem leak

This commit is contained in:
Olivier Crête 2013-09-09 13:14:13 -04:00
parent a41e8698b1
commit fb639741d7

View file

@ -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);
}
}
}