tracerrecord: Fix self->spec structure invalid free

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
This commit is contained in:
Vineeth TM 2016-01-19 14:39:06 +09:00 committed by Stefan Sauer
parent fc02815459
commit 7738236968

View file

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