gst/audioconvert/gstaudioconvert.c: fix memleak
authorBenjamin Otte <otte@gnome.org>
Sun, 25 Apr 2004 17:56:11 +0000 (17:56 +0000)
committerBenjamin Otte <otte@gnome.org>
Sun, 25 Apr 2004 17:56:11 +0000 (17:56 +0000)
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
fix memleak

ChangeLog
gst/audioconvert/gstaudioconvert.c

index c4108f6..dea300d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-25  Benjamin Otte  <otte@gnome.org>
+
+       * gst/audioconvert/gstaudioconvert.c: (_fixate_caps_to_int):
+         fix memleak
+
 2004-04-23  Benjamin Otte  <otte@gnome.org>
 
        * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps):
index 84af4b6..5412969 100644 (file)
@@ -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++) {