check/elements/volume.c (cleanup_volume): Fix for running

Original commit message from CVS:
2005-08-29  Andy Wingo  <wingo@pobox.com>

* check/elements/volume.c (cleanup_volume): Fix for running
CK_FORK=no.
This commit is contained in:
Andy Wingo 2005-08-29 11:18:29 +00:00
parent fd30c157b8
commit af5663e170
3 changed files with 11 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2005-08-29 Andy Wingo <wingo@pobox.com>
* check/elements/volume.c (cleanup_volume): Fix for running
CK_FORK=no.
* check/elements/audioconvert.c: Convert from native endian, not
little endian.

View file

@ -89,6 +89,10 @@ cleanup_volume (GstElement * volume)
{
GST_DEBUG ("cleanup_volume");
g_list_foreach (buffers, (GFunc) gst_mini_object_unref, NULL);
g_list_free (buffers);
buffers = NULL;
gst_check_teardown_src_pad (volume);
gst_check_teardown_sink_pad (volume);
gst_check_teardown_element (volume);

View file

@ -89,6 +89,10 @@ cleanup_volume (GstElement * volume)
{
GST_DEBUG ("cleanup_volume");
g_list_foreach (buffers, (GFunc) gst_mini_object_unref, NULL);
g_list_free (buffers);
buffers = NULL;
gst_check_teardown_src_pad (volume);
gst_check_teardown_sink_pad (volume);
gst_check_teardown_element (volume);