From 540a3816e4024f809a7bc9c37a9f62344e6a8a7f Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Sun, 22 Jun 2008 18:35:27 +0000 Subject: [PATCH] tests/examples/seek/seek.c: Fix crasher when playing a parse-launch line the 2nd time. Original commit message from CVS: * tests/examples/seek/seek.c: Fix crasher when playing a parse-launch line the 2nd time. --- ChangeLog | 5 +++++ tests/examples/seek/seek.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0b5d0e3..c9ed0be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-22 Stefan Kost + + * tests/examples/seek/seek.c: + Fix crasher when playing a parse-launch line the 2nd time. + 2008-06-21 Thomas Vander Stichele * tests/check/pipelines/oggmux.c: diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index 8addde2..544efec 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -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); -- 2.7.4