mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
gst/matroska/matroska-demux.c: Don't leak caps when freeing the stream context (#340623).
Original commit message from CVS: Patch by: Michal Benes <michal dot benes at xeris dot cz> * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset): Don't leak caps when freeing the stream context (#340623).
This commit is contained in:
parent
33dccfb084
commit
706c907277
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Michal Benes <michal dot benes at xeris dot cz>
|
||||
|
||||
* gst/matroska/matroska-demux.c: (gst_matroska_demux_reset):
|
||||
Don't leak caps when freeing the stream context (#340623).
|
||||
|
||||
2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -227,6 +227,7 @@ gst_matroska_demux_reset (GstElement * element)
|
|||
if (demux->src[i]->pad != NULL) {
|
||||
gst_element_remove_pad (GST_ELEMENT (demux), demux->src[i]->pad);
|
||||
}
|
||||
gst_caps_replace (&demux->src[i]->caps, NULL);
|
||||
g_free (demux->src[i]->codec_id);
|
||||
g_free (demux->src[i]->codec_name);
|
||||
g_free (demux->src[i]->name);
|
||||
|
|
Loading…
Reference in a new issue