Commit a422d6b3 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

advapi32: Close scm_handle on error exit (Coverity).

parent 4d5dcdca
......@@ -1866,7 +1866,10 @@ static void test_sequence(void)
}
}
if (!svc_handle) return;
if (!svc_handle) {
CloseServiceHandle(scm_handle);
return;
}
/* TODO:
* Before we do a QueryServiceConfig we should check the registry. This will make sure
......
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