FreeLibrary for advapi32.dll
This commit is contained in:
parent
5f8fece190
commit
4fe3373aa7
|
@ -327,6 +327,10 @@ int sigar_os_close(sigar_t *sigar)
|
||||||
|
|
||||||
retval = RegCloseKey(sigar->handle);
|
retval = RegCloseKey(sigar->handle);
|
||||||
|
|
||||||
|
if (sigar->adv_handle) {
|
||||||
|
FreeLibrary(sigar->adv_handle);
|
||||||
|
}
|
||||||
|
|
||||||
if (sigar->ip_handle) {
|
if (sigar->ip_handle) {
|
||||||
FreeLibrary(sigar->ip_handle);
|
FreeLibrary(sigar->ip_handle);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue