gst/playback/gstplaybasebin.c: Free iterator when done.
authorTim-Philipp Müller <tim@centricular.net>
Thu, 19 Jan 2006 10:59:51 +0000 (10:59 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 19 Jan 2006 10:59:51 +0000 (10:59 +0000)
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_source):
Free iterator when done.

ChangeLog
gst/playback/gstplaybasebin.c

index 724a81f..bb280cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/playback/gstplaybasebin.c: (setup_source):
+         Free iterator when done.
+
 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
 
        * gst-libs/gst/audio/gstbaseaudiosink.c:
index 13aef93..d15b963 100644 (file)
@@ -1325,6 +1325,8 @@ setup_source (GstPlayBaseBin * play_base_bin, gchar ** new_location)
       }
     }
 
+    gst_iterator_free (pads_iter);
+
     if (is_raw) {
       no_more_pads (play_base_bin->source, play_base_bin);
       return TRUE;