From e11f0be1615822e8575c500eb2e25755465ad61d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 17 Feb 2009 17:37:49 +0100 Subject: mxfdemux: Set free'd memory to NULL to prevent a double free later in some cases --- gst/mxf/mxfdemux.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/mxf') diff --git a/gst/mxf/mxfdemux.c b/gst/mxf/mxfdemux.c index d1badaf0..79c9fba7 100644 --- a/gst/mxf/mxfdemux.c +++ b/gst/mxf/mxfdemux.c @@ -835,6 +835,7 @@ gst_mxf_demux_update_essence_tracks (GstMXFDemux * demux) if (!caps && new) { GST_WARNING_OBJECT (demux, "No caps created, ignoring stream"); g_free (etrack->mapping_data); + etrack->mapping_data = NULL; if (etrack->tags) gst_tag_list_free (etrack->tags); goto next; -- cgit v1.2.1