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:
Edward Hervey 2005-12-15 17:06:10 +00:00
parent b77f717fa6
commit b5261874f0
2 changed files with 7 additions and 1 deletions

View file

@ -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>
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list),

View file

@ -1330,8 +1330,9 @@ gst_rmdemux_add_stream (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
}
rmdemux->n_audio_streams++;
} 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);
g_free (stream);
goto beach;
}