diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index eb547434..9ce3aa02 100644 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -101,6 +101,7 @@ static FARPROC sigar_GetProcAddress(sigar_t *sigar, sigar_log_printf(sigar, SIGAR_LOG_DEBUG, "GetProcAddress(%s): %s\n", lpProcName, "No module handle"); + return NULL; } if (!(ptr = GetProcAddress(hModule, lpProcName))) {