projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15458b
)
uvch264src: Free property strings when disposing the instance
author
Sebastian Dröge
<sebastian@centricular.com>
Sun, 29 Jun 2014 19:01:39 +0000
(21:01 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Sun, 29 Jun 2014 19:01:39 +0000
(21:01 +0200)
sys/uvch264/gstuvch264_src.c
patch
|
blob
|
history
diff --git
a/sys/uvch264/gstuvch264_src.c
b/sys/uvch264/gstuvch264_src.c
index
6c6047d
..
af9da69
100644
(file)
--- a/
sys/uvch264/gstuvch264_src.c
+++ b/
sys/uvch264/gstuvch264_src.c
@@
-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);
}