mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
gst/realmedia/rmdemux.c: Don't leak stream index (#385292).
Original commit message from CVS: Patch by: Roland Kay <roland.kay at ox compsoc net> * gst/realmedia/rmdemux.c: (gst_rmdemux_reset): Don't leak stream index (#385292).
This commit is contained in:
parent
bcc7663ebe
commit
d54f267bc4
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Patch by: Roland Kay <roland.kay at ox compsoc net>
|
||||
|
||||
* gst/realmedia/rmdemux.c: (gst_rmdemux_reset):
|
||||
Don't leak stream index (#385292).
|
||||
|
||||
2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
Based on patch by: Roland Kay <roland.kay at ox compsoc net>
|
||||
|
|
|
@ -660,6 +660,7 @@ gst_rmdemux_reset (GstRMDemux * rmdemux)
|
|||
gst_element_remove_pad (GST_ELEMENT (rmdemux), rmdemux->streams[n]->pad);
|
||||
if (rmdemux->streams[n]->subpackets)
|
||||
g_ptr_array_free (rmdemux->streams[n]->subpackets, TRUE);
|
||||
g_free (rmdemux->streams[n]->index);
|
||||
g_free (rmdemux->streams[n]);
|
||||
rmdemux->streams[n] = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue