qtmux: Free AtomInfo structs
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 19 Dec 2010 11:53:34 +0000 (12:53 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 19 Dec 2010 11:53:34 +0000 (12:53 +0100)
gst/qtmux/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;