projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc02815
)
tracerrecord: Fix self->spec structure invalid free
author
Vineeth TM
<vineeth.tm@samsung.com>
Tue, 19 Jan 2016 05:39:06 +0000
(14:39 +0900)
committer
Stefan Sauer
<ensonic@users.sf.net>
Wed, 20 Jan 2016 08:28:07 +0000
(09:28 +0100)
self->spec is got using g_value_get_boxed(), which is a transfer none function.
So the same should not be freed, which is resulting in wrong behavior.
https://bugzilla.gnome.org/show_bug.cgi?id=760821
gst/gsttracerrecord.c
patch
|
blob
|
history
diff --git
a/gst/gsttracerrecord.c
b/gst/gsttracerrecord.c
index
931e633
..
54429a4
100644
(file)
--- a/
gst/gsttracerrecord.c
+++ b/
gst/gsttracerrecord.c
@@
-134,7
+134,6
@@
gst_tracer_record_dispose (GObject * object)
{
GstTracerRecord *self = GST_TRACER_RECORD (object);
- gst_structure_free (self->spec);
g_free (self->format);
}