mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-04 22:48:54 +00:00
uvch264src: Free property strings when disposing the instance
This commit is contained in:
parent
c15458b8cb
commit
01fd3a1396
1 changed files with 6 additions and 0 deletions
|
@ -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…
Reference in a new issue