mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
qtmux: Free AtomInfo structs
This commit is contained in:
parent
6e350ec961
commit
d8a690e64c
1 changed files with 1 additions and 0 deletions
|
@ -359,6 +359,7 @@ gst_qt_mux_reset (GstQTMux * qtmux, gboolean alloc)
|
||||||
for (walk = qtmux->extra_atoms; walk; walk = g_slist_next (walk)) {
|
for (walk = qtmux->extra_atoms; walk; walk = g_slist_next (walk)) {
|
||||||
AtomInfo *ainfo = (AtomInfo *) walk->data;
|
AtomInfo *ainfo = (AtomInfo *) walk->data;
|
||||||
ainfo->free_func (ainfo->atom);
|
ainfo->free_func (ainfo->atom);
|
||||||
|
g_free (ainfo);
|
||||||
}
|
}
|
||||||
g_slist_free (qtmux->extra_atoms);
|
g_slist_free (qtmux->extra_atoms);
|
||||||
qtmux->extra_atoms = NULL;
|
qtmux->extra_atoms = NULL;
|
||||||
|
|
Loading…
Reference in a new issue