mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
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:
parent
456b171b79
commit
6cfaeb7d4e
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue