tests: tee: Remember to initialize variables to NULL

app_thread needs to be initialized to NULL, otherwise tests
will try to use it and crash
This commit is contained in:
Thiago Santos 2011-10-09 11:49:45 -03:00
parent 456b171b79
commit 6cfaeb7d4e

View file

@ -183,6 +183,8 @@ typedef struct
static void
buffer_alloc_harness_setup (BufferAllocHarness * h, gint countdown)
{
h->app_thread = NULL;
h->tee = gst_check_setup_element ("tee");
fail_if (h->tee == NULL);