diff --git a/ChangeLog b/ChangeLog index 951a7cb7da..b2cfdf79d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-02-04 Sebastian Dröge + + * ext/ladspa/gstsignalprocessor.c: + (gst_signal_processor_class_add_pad_template): + Don't unref the pad template after adding it. + gst_element_class_add_pad_template takes ownership of it. + 2008-02-03 Jan Schmidt * ext/mpeg2enc/gstmpeg2encpicturereader.cc: diff --git a/ext/ladspa/gstsignalprocessor.c b/ext/ladspa/gstsignalprocessor.c index 5c0fff8365..364f4fece6 100644 --- a/ext/ladspa/gstsignalprocessor.c +++ b/ext/ladspa/gstsignalprocessor.c @@ -92,7 +92,6 @@ gst_signal_processor_class_add_pad_template (GstSignalProcessorClass * klass, GST_SIGNAL_PROCESSOR_PAD_TEMPLATE (new)->index = index; gst_element_class_add_pad_template (GST_ELEMENT_CLASS (klass), new); - gst_object_unref (new); }