diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-17 17:37:49 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-02-21 16:16:32 +0100 |
commit | e11f0be1615822e8575c500eb2e25755465ad61d (patch) | |
tree | 7a5a69a12495e957d50cf88419f85fc2c0f1822d | |
parent | 2a93712ea1511b8a07d51d03ce8194bf1f59379c (diff) | |
download | gst-plugins-bad-e11f0be1615822e8575c500eb2e25755465ad61d.tar.gz gst-plugins-bad-e11f0be1615822e8575c500eb2e25755465ad61d.tar.bz2 gst-plugins-bad-e11f0be1615822e8575c500eb2e25755465ad61d.zip |
mxfdemux: Set free'd memory to NULL to prevent a double free later in some cases
-rw-r--r-- | gst/mxf/mxfdemux.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |