Commit 5811cac5 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

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

parent ea76c97c
...@@ -85,6 +85,7 @@ static DWORD WINAPI SystemClockAdviseThread(void *param) ...@@ -85,6 +85,7 @@ static DWORD WINAPI SystemClockAdviseThread(void *param)
SetEvent(sink->handle); SetEvent(sink->handle);
list_remove(&sink->entry); list_remove(&sink->entry);
heap_free(sink); heap_free(sink);
continue;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment