FreeLibrary for advapi32.dll

This commit is contained in:
Doug MacEachern 2005-10-03 21:01:51 +00:00
parent 5f8fece190
commit 4fe3373aa7
1 changed files with 4 additions and 0 deletions

View File

@ -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);
} }