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.
This commit is contained in:
Stefan Kost 2008-06-22 18:35:27 +00:00
parent f43a3f6acc
commit 540a3816e4
2 changed files with 9 additions and 0 deletions

View file

@ -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:

View 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);