diff --git a/ChangeLog b/ChangeLog index 61d0c35d89..dc954ba028 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-07-04 Andy Wingo + * gst/audioconvert/gstaudioconvert.c (gst_audio_convert_fixate): + No refcount leakage. + * configure.ac: Enable -Werror. * ext/theora/theoradec.c (theora_dec_src_getcaps): diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index d229a167ca..4f2825e7b8 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -513,7 +513,7 @@ gst_audio_convert_fixate (GstPad * pad, GstCaps * caps) GstAudioConvert *this; GstAudioConvertCaps try, ac_caps; - this = GST_AUDIO_CONVERT (gst_pad_get_parent (pad)); + this = GST_AUDIO_CONVERT (GST_PAD_PARENT (pad)); otherpad = (pad == this->sink ? this->src : this->sink); ac_caps = (pad == this->sink ? this->srccaps : this->sinkcaps);