quartz/systemclock: Avoid a use-after-free (Coverity).

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-04-06 14:25:51 -05:00 committed by Alexandre Julliard
parent ea76c97ccd
commit 5811cac5c2
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ static DWORD WINAPI SystemClockAdviseThread(void *param)
SetEvent(sink->handle);
list_remove(&sink->entry);
heap_free(sink);
continue;
}
}