gst/mpegaudioparse/gstmpegaudioparse.c: "She's leaking me", said valgrind.

Original commit message from CVS:
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init):
"She's leaking me", said valgrind.
This commit is contained in:
Edward Hervey 2007-06-21 14:33:58 +00:00
parent b18aa04605
commit 33e97185f5
3 changed files with 8 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2007-06-21 Edward Hervey <edward@fluendo.com>
* gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_init):
"She's leaking me", said valgrind.
2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_caps_create):

2
common

@ -1 +1 @@
Subproject commit 6cb0000a5a30d4fc580a06489106a637fca024c4
Subproject commit 14c5a68981278f642e4ca5fd5ca08554fc78b348

View file

@ -292,15 +292,13 @@ static void
gst_mp3parse_init (GstMPEGAudioParse * mp3parse)
{
mp3parse->sinkpad =
gst_pad_new_from_template (gst_static_pad_template_get
(&mp3_sink_template), "sink");
gst_pad_new_from_static_template (&mp3_sink_template, "sink");
gst_pad_set_event_function (mp3parse->sinkpad, gst_mp3parse_sink_event);
gst_pad_set_chain_function (mp3parse->sinkpad, gst_mp3parse_chain);
gst_element_add_pad (GST_ELEMENT (mp3parse), mp3parse->sinkpad);
mp3parse->srcpad =
gst_pad_new_from_template (gst_static_pad_template_get
(&mp3_src_template), "src");
gst_pad_new_from_static_template (&mp3_src_template, "src");
gst_pad_use_fixed_caps (mp3parse->srcpad);
gst_pad_set_event_function (mp3parse->srcpad, mp3parse_src_event);
gst_pad_set_query_function (mp3parse->srcpad, mp3parse_src_query);