qtmux: Free AtomInfo structs

This commit is contained in:
Sebastian Dröge 2010-12-19 12:53:34 +01:00
parent 435bc16497
commit 5e5092e92c

View 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;