diff options
author | Edward Hervey <bilboed@bilboed.com> | 2007-06-22 10:46:33 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2007-06-22 10:46:33 +0000 |
commit | b8a18741d88bd208d15918655a33f9b42bd614e6 (patch) | |
tree | 3006c560e2e604290fbcf119e3256add3d3f982a /gst/cdxaparse | |
parent | 1b6c4e2ab29de3ed3394c99372656ee0dbc2abe5 (diff) | |
download | gstreamer-plugins-bad-b8a18741d88bd208d15918655a33f9b42bd614e6.tar.gz |
Fix leaks.
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_init):
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c: (gst_bz2dec_init):
* ext/bz2/gstbz2enc.c: (gst_bz2enc_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_init):
* ext/divx/gstdivxenc.c: (gst_divxenc_init):
* ext/faac/gstfaac.c: (gst_faac_init):
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init):
* ext/gsm/gstgsmenc.c: (gst_gsmenc_init):
* ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_init):
* ext/spc/gstspc.c: (gst_spc_dec_init):
* ext/swfdec/gstswfdec.c: (gst_swfdec_init):
* ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init):
* gst/chart/gstchart.c: (gst_chart_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_init):
* gst/festival/gstfestival.c: (gst_festival_init):
* gst/freeze/gstfreeze.c: (gst_freeze_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_request_new_pad):
* gst/mpeg1sys/gstmpeg1systemencode.c: (gst_system_encode_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
* gst/nsf/gstnsf.c: (gst_nsfdec_init):
* gst/overlay/gstoverlay.c: (gst_overlay_init):
* gst/passthrough/gstpassthrough.c: (passthrough_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_init):
* gst/smooth/gstsmooth.c: (gst_smooth_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/speed/gstspeed.c: (speed_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_init):
* gst/videodrop/gstvideodrop.c: (gst_videodrop_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_init):
Fix leaks.
Diffstat (limited to 'gst/cdxaparse')
-rw-r--r-- | gst/cdxaparse/gstcdxaparse.c | 6 | ||||
-rw-r--r-- | gst/cdxaparse/gstcdxastrip.c | 6 | ||||
-rw-r--r-- | gst/cdxaparse/gstvcdparse.c | 6 |
3 files changed, 6 insertions, 12 deletions
diff --git a/gst/cdxaparse/gstcdxaparse.c b/gst/cdxaparse/gstcdxaparse.c index 3a302af38..1169cef34 100644 --- a/gst/cdxaparse/gstcdxaparse.c +++ b/gst/cdxaparse/gstcdxaparse.c @@ -92,8 +92,7 @@ gst_cdxa_parse_init (GstCDXAParse * cdxaparse, GstCDXAParseClass * klass) GstCaps *caps; cdxaparse->sinkpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&sink_template_factory), "sink"); + gst_pad_new_from_static_template (&sink_template_factory, "sink"); gst_pad_set_activate_function (cdxaparse->sinkpad, GST_DEBUG_FUNCPTR (gst_cdxa_parse_sink_activate)); gst_pad_set_activatepull_function (cdxaparse->sinkpad, @@ -102,8 +101,7 @@ gst_cdxa_parse_init (GstCDXAParse * cdxaparse, GstCDXAParseClass * klass) gst_element_add_pad (GST_ELEMENT (cdxaparse), cdxaparse->sinkpad); cdxaparse->srcpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&src_template_factory), "src"); + gst_pad_new_from_static_template (&src_template_factory, "src"); gst_pad_set_event_function (cdxaparse->srcpad, GST_DEBUG_FUNCPTR (gst_cdxa_parse_src_event)); diff --git a/gst/cdxaparse/gstcdxastrip.c b/gst/cdxaparse/gstcdxastrip.c index 00124b305..80bf7c87b 100644 --- a/gst/cdxaparse/gstcdxastrip.c +++ b/gst/cdxaparse/gstcdxastrip.c @@ -116,14 +116,12 @@ gst_cdxastrip_init (GstCDXAStrip * cdxastrip) GST_OBJECT_FLAG_SET (cdxastrip, GST_ELEMENT_EVENT_AWARE); cdxastrip->sinkpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&sink_template_factory), "sink"); + gst_pad_new_from_static_template (&sink_template_factory, "sink"); gst_pad_set_chain_function (cdxastrip->sinkpad, gst_cdxastrip_chain); gst_element_add_pad (GST_ELEMENT (cdxastrip), cdxastrip->sinkpad); cdxastrip->srcpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&src_template_factory), "src"); + gst_pad_new_from_static_template (&src_template_factory, "src"); gst_pad_set_formats_function (cdxastrip->srcpad, gst_cdxastrip_get_src_formats); gst_pad_set_event_mask_function (cdxastrip->srcpad, diff --git a/gst/cdxaparse/gstvcdparse.c b/gst/cdxaparse/gstvcdparse.c index 00124b305..80bf7c87b 100644 --- a/gst/cdxaparse/gstvcdparse.c +++ b/gst/cdxaparse/gstvcdparse.c @@ -116,14 +116,12 @@ gst_cdxastrip_init (GstCDXAStrip * cdxastrip) GST_OBJECT_FLAG_SET (cdxastrip, GST_ELEMENT_EVENT_AWARE); cdxastrip->sinkpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&sink_template_factory), "sink"); + gst_pad_new_from_static_template (&sink_template_factory, "sink"); gst_pad_set_chain_function (cdxastrip->sinkpad, gst_cdxastrip_chain); gst_element_add_pad (GST_ELEMENT (cdxastrip), cdxastrip->sinkpad); cdxastrip->srcpad = - gst_pad_new_from_template (gst_static_pad_template_get - (&src_template_factory), "src"); + gst_pad_new_from_static_template (&src_template_factory, "src"); gst_pad_set_formats_function (cdxastrip->srcpad, gst_cdxastrip_get_src_formats); gst_pad_set_event_mask_function (cdxastrip->srcpad, |