wavenc: Fix memory leaks in the unit test

This commit is contained in:
Sebastian Dröge 2010-12-19 11:02:41 +01:00
parent 9d4f349454
commit 4ae9f125f0

View file

@ -111,6 +111,7 @@ make_n_channel_wav (const gint channels, const GValueArray * arr)
g_main_loop_run (loop);
gst_element_set_state (pipeline, GST_STATE_NULL);
gst_object_unref (pipeline);
g_free (audiotestsrc);
}
@ -129,6 +130,7 @@ GST_START_TEST (test_encode_stereo)
g_value_unset (&val);
make_n_channel_wav (2, arr);
g_value_array_free (arr);
}
GST_END_TEST;