From 13466030b7de31ef48434a720d7a20efe92377b6 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 13 May 2005 20:13:51 +0000 Subject: [PATCH] missing FreeLibrary call --- src/os/win32/win32_sigar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index 44759e49..ae87f86d 100644 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -1318,6 +1318,7 @@ static int sigar_proc_modules_get_toolhelp(sigar_t *sigar, module.dwSize = sizeof(MODULEENTRY32); if (!module_first(snap_shot, &module)) { CloseHandle(snap_shot); + FreeLibrary(k32_handle); return SIGAR_OK; }