tests/examples/seek/seek.c: Fix crasher when playing a parse-launch line the 2nd...
authorStefan Kost <ensonic@users.sourceforge.net>
Sun, 22 Jun 2008 18:35:27 +0000 (18:35 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Sun, 22 Jun 2008 18:35:27 +0000 (18:35 +0000)
Original commit message from CVS:
* tests/examples/seek/seek.c:
Fix crasher when playing a parse-launch line the 2nd time.

ChangeLog
tests/examples/seek/seek.c

index 0b5d0e3..c9ed0be 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-22  Stefan Kost  <ensonic@users.sf.net>
+
+       * tests/examples/seek/seek.c:
+         Fix crasher when playing a parse-launch line the 2nd time.
+
 2008-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * tests/check/pipelines/oggmux.c:
index 8addde2..544efec 100644 (file)
@@ -1498,6 +1498,10 @@ stop_cb (GtkButton * button, gpointer data)
 
       g_list_free (seekable_elements);
       seekable_elements = NULL;
+      g_list_free (seekable_pads);
+      seekable_pads = NULL;
+      g_list_free (rate_pads);
+      rate_pads = NULL;
 
       pipeline = pipelines[pipeline_type].func (pipeline_spec);
       g_assert (pipeline);