diff options
author | Edward Hervey <bilboed@bilboed.com> | 2007-06-22 10:12:15 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2007-06-22 10:12:15 +0000 |
commit | 8b1eeb5a6aaf596fce05f719776f2698ac7f4eb2 (patch) | |
tree | f4b752c31991c60b2835a2f8d91aebd19f62509f /ext/flac | |
parent | f6933c8d2f9ea03e7250647a92255be356505625 (diff) |
Fix memory leaks.
Original commit message from CVS:
* ext/flac/gstflactag.c: (gst_flac_tag_init):
* gst/interleave/deinterleave.c: (deinterleave_init),
(deinterleave_sink_link):
* gst/interleave/interleave.c: (interleave_init):
* gst/median/gstmedian.c: (gst_median_init):
* gst/oldcore/gstmultifilesrc.c: (gst_multifilesrc_init):
Fix memory leaks.
* tests/check/elements/id3demux.c: (pad_added_cb):
Remove unused variable.
Diffstat (limited to 'ext/flac')
-rw-r--r-- | ext/flac/gstflactag.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/flac/gstflactag.c b/ext/flac/gstflactag.c index db0fa2a4..247e1dea 100644 --- a/ext/flac/gstflactag.c +++ b/ext/flac/gstflactag.c @@ -243,15 +243,13 @@ gst_flac_tag_init (GstFlacTag * tag) { /* create the sink and src pads */ tag->sinkpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&flac_tag_sink_template), "sink"); + gst_pad_new_from_static_template (&flac_tag_sink_template, "sink"); gst_element_add_pad (GST_ELEMENT (tag), tag->sinkpad); gst_pad_set_chain_function (tag->sinkpad, GST_DEBUG_FUNCPTR (gst_flac_tag_chain)); tag->srcpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&flac_tag_src_template), "src"); + gst_pad_new_from_static_template (&flac_tag_src_template, "src"); gst_element_add_pad (GST_ELEMENT (tag), tag->srcpad); tag->buffer = NULL; |