diff --git a/modules/rostests/apitests/kernel32/MultiByteToWideChar.c b/modules/rostests/apitests/kernel32/MultiByteToWideChar.c index 0cb6e2215b0..82e4dc6bc16 100644 --- a/modules/rostests/apitests/kernel32/MultiByteToWideChar.c +++ b/modules/rostests/apitests/kernel32/MultiByteToWideChar.c @@ -189,6 +189,7 @@ static OSVERSIONINFOW *GetRealOSVersion() return &osvi; } } + FreeLibrary(hNTDLL); } return NULL; }