missing FreeLibrary call
This commit is contained in:
parent
48097a4bb4
commit
13466030b7
|
@ -1318,6 +1318,7 @@ static int sigar_proc_modules_get_toolhelp(sigar_t *sigar,
|
||||||
module.dwSize = sizeof(MODULEENTRY32);
|
module.dwSize = sizeof(MODULEENTRY32);
|
||||||
if (!module_first(snap_shot, &module)) {
|
if (!module_first(snap_shot, &module)) {
|
||||||
CloseHandle(snap_shot);
|
CloseHandle(snap_shot);
|
||||||
|
FreeLibrary(k32_handle);
|
||||||
return SIGAR_OK;
|
return SIGAR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue