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 0b5d0e3d93ad45c950eb32ed3c8818e37373ddc5..c9ed0be4264b6a13018c17009d4c6fcc27251d3a 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 8addde2e300ca5b1caa26239d8ab1a3dea32c603..544efeced44faae92ee2dcf9da5e7346d931178e 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);