qtmux: Free AtomInfo structs
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 19 Dec 2010 11:53:34 +0000 (12:53 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Apr 2011 19:32:20 +0000 (20:32 +0100)
gst/quicktime/gstqtmux.c

index 8c8ea42..ba5b9ac 100644 (file)
@@ -359,6 +359,7 @@ gst_qt_mux_reset (GstQTMux * qtmux, gboolean alloc)
   for (walk = qtmux->extra_atoms; walk; walk = g_slist_next (walk)) {
     AtomInfo *ainfo = (AtomInfo *) walk->data;
     ainfo->free_func (ainfo->atom);
+    g_free (ainfo);
   }
   g_slist_free (qtmux->extra_atoms);
   qtmux->extra_atoms = NULL;