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:
parent
ea76c97ccd
commit
5811cac5c2
|
@ -85,6 +85,7 @@ static DWORD WINAPI SystemClockAdviseThread(void *param)
|
|||
SetEvent(sink->handle);
|
||||
list_remove(&sink->entry);
|
||||
heap_free(sink);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue