From: Benjamin Otte Date: Sun, 25 Apr 2004 17:56:11 +0000 (+0000) Subject: gst/audioconvert/gstaudioconvert.c: fix memleak X-Git-Tag: 1.19.3~511^2~14335 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cd4212d7024f7c052af2de8514b07e31f85c1ff;p=platform%2Fupstream%2Fgstreamer.git gst/audioconvert/gstaudioconvert.c: fix memleak Original commit message from CVS: * gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int): fix memleak --- diff --git a/ChangeLog b/ChangeLog index c4108f6..dea300d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-04-25 Benjamin Otte + + * gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int): + fix memleak + 2004-04-23 Benjamin Otte * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps): diff --git a/gst/audioconvert/gstaudioconvert.c b/gst/audioconvert/gstaudioconvert.c index 84af4b6..5412969 100644 --- a/gst/audioconvert/gstaudioconvert.c +++ b/gst/audioconvert/gstaudioconvert.c @@ -445,6 +445,8 @@ _fixate_caps_to_int (GstCaps ** caps, const gchar * field, gint value) } else { gst_caps_free (intersection); } + } else { + gst_caps_free (intersection); } gst_caps_free (try); for (i = 0; i < gst_caps_get_size (*caps); i++) {