mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 07:00:41 +00:00
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 a new issue