Memory leak fixes

Original commit message from CVS:
Memory leak fixes
Allow level to take mono or stereo audio
This commit is contained in:
Iain Holmes 2004-10-26 11:36:52 +00:00
parent 0528ad3123
commit b2e3b07496
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,19 @@
2004-10-26 Iain <iaingnome@gmail.com>
* ext/ogg/gstoggdemux.c (gst_ogg_pad_new): Free the tag list.
* gst/audioscale/gstaudioscale.c (gst_audioscale_link): Free the copy
of the caps.
* gst/interleave/interleave.c (interleave_class_init): Hook up release
pad.
(interleave_release_pad): Remove the pad.
* gst/level/gstlevel.c: Allow the level to take 1 or 2 channels.
* sys/sunaudio/gstsunaudio.c (gst_sunaudio_setparams): Pay attention to
the set device.
* sys/xvimage/xvimagesink.c (gst_xvimagesink_get_xv_support): Free the
attrs
(gst_xvimagesink_xcontext_clear): Free the xcontext.
(gst_xvimagesink_finalize): Free the par.
2004-10-26 Ronald S. Bultje <rbultje@ronald.bitfreak.net> 2004-10-26 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/avi/gstavimux.c: (gst_avimux_audsinkconnect), * gst/avi/gstavimux.c: (gst_avimux_audsinkconnect),

View file

@ -950,6 +950,7 @@ gst_lame_chain (GstPad * pad, GstData * _data)
} else { } else {
g_assert_not_reached (); g_assert_not_reached ();
} }
gst_pad_event_default (pad, GST_EVENT (buf)); gst_pad_event_default (pad, GST_EVENT (buf));
break; break;
case GST_EVENT_DISCONTINUOUS: case GST_EVENT_DISCONTINUOUS: