uvch264src: Free property strings when disposing the instance
This commit is contained in:
parent
c15458b8cb
commit
01fd3a1396
@ -587,6 +587,12 @@ gst_uvc_h264_src_dispose (GObject * object)
|
||||
if (self->usb_ctx)
|
||||
libusb_exit (self->usb_ctx);
|
||||
self->usb_ctx = NULL;
|
||||
g_free (self->jpeg_decoder_name);
|
||||
self->jpeg_decoder_name = NULL;
|
||||
g_free (self->colorspace_name);
|
||||
self->colorspace_name = NULL;
|
||||
g_free (self->device);
|
||||
self->device = NULL;
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user