summaryrefslogtreecommitdiffstats
path: root/gst/oldcore
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-06-22 10:12:15 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-06-22 10:12:15 +0000
commit8b1eeb5a6aaf596fce05f719776f2698ac7f4eb2 (patch)
treef4b752c31991c60b2835a2f8d91aebd19f62509f /gst/oldcore
parentf6933c8d2f9ea03e7250647a92255be356505625 (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 'gst/oldcore')
-rw-r--r--gst/oldcore/gstmultifilesrc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/oldcore/gstmultifilesrc.c b/gst/oldcore/gstmultifilesrc.c
index 74f0cee1..4dbd75d1 100644
--- a/gst/oldcore/gstmultifilesrc.c
+++ b/gst/oldcore/gstmultifilesrc.c
@@ -130,9 +130,7 @@ gst_multifilesrc_init (GstMultiFileSrc * multifilesrc,
{
/* GST_OBJECT_FLAG_SET (filesrc, GST_SRC_); */
- multifilesrc->srcpad =
- gst_pad_new_from_template (gst_static_pad_template_get (&srctemplate),
- "src");
+ multifilesrc->srcpad = gst_pad_new_from_static_template (&srctemplate, "src");
gst_pad_set_get_function (multifilesrc->srcpad, gst_multifilesrc_get);
/* gst_pad_set_getregion_function (multifilesrc->srcpad,gst_multifilesrc_get_region); */
gst_element_add_pad (GST_ELEMENT (multifilesrc), multifilesrc->srcpad);