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

Zebediah Figura z.figura12 at gmail.com
Sat Apr 6 14:25:51 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/quartz/systemclock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/quartz/systemclock.c b/dlls/quartz/systemclock.c
index 15f8ea0c02..6bb1f47e6f 100644
--- a/dlls/quartz/systemclock.c
+++ b/dlls/quartz/systemclock.c
@@ -85,6 +85,7 @@ static DWORD WINAPI SystemClockAdviseThread(void *param)
                     SetEvent(sink->handle);
                     list_remove(&sink->entry);
                     heap_free(sink);
+                    continue;
                 }
             }
 
-- 
2.20.1




More information about the wine-devel mailing list