mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46: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
|
static void
|
||||||
buffer_alloc_harness_setup (BufferAllocHarness * h, gint countdown)
|
buffer_alloc_harness_setup (BufferAllocHarness * h, gint countdown)
|
||||||
{
|
{
|
||||||
|
h->app_thread = NULL;
|
||||||
|
|
||||||
h->tee = gst_check_setup_element ("tee");
|
h->tee = gst_check_setup_element ("tee");
|
||||||
fail_if (h->tee == NULL);
|
fail_if (h->tee == NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue