mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
qtmux: Fix sample memory leak
When getting sample from taglist, the memory should be freed after using it. https://bugzilla.gnome.org/show_bug.cgi?id=756068
This commit is contained in:
parent
15b08e0bd5
commit
d7a80be3c7
1 changed files with 1 additions and 0 deletions
|
@ -1414,6 +1414,7 @@ gst_qt_mux_add_metadata_tags (GstQTMux * qtmux, const GstTagList * list,
|
||||||
}
|
}
|
||||||
gst_buffer_unmap (buf, &map);
|
gst_buffer_unmap (buf, &map);
|
||||||
}
|
}
|
||||||
|
gst_sample_unref (sample);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue