mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
gst/realmedia/rmdemux.c: Remove memleak from unused GstRMDemuxStream
Original commit message from CVS: * gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream): Remove memleak from unused GstRMDemuxStream
This commit is contained in:
parent
b77f717fa6
commit
b5261874f0
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-12-15 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
|
||||||
|
Remove memleak from unused GstRMDemuxStream
|
||||||
|
|
||||||
2005-12-12 Michael Smith <msmith@fluendo.com>
|
2005-12-12 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list),
|
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list),
|
||||||
|
|
|
@ -1330,8 +1330,9 @@ gst_rmdemux_add_stream (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
|
||||||
}
|
}
|
||||||
rmdemux->n_audio_streams++;
|
rmdemux->n_audio_streams++;
|
||||||
} else {
|
} else {
|
||||||
GST_WARNING_OBJECT (rmdemux, "not adding stream of type %d",
|
GST_WARNING_OBJECT (rmdemux, "not adding stream of type %d, freeing it",
|
||||||
stream->subtype);
|
stream->subtype);
|
||||||
|
g_free (stream);
|
||||||
goto beach;
|
goto beach;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue