https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e0152394262c8b61fa2715691bd567eaf486f1b0

commit e0152394262c8b61fa2715691bd567eaf486f1b0
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Sat Apr 6 13:48:05 2019 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Sat Apr 6 13:48:05 2019 +0900

    [KERNEL32_APITEST] Forgot FreeLibrary
---
 modules/rostests/apitests/kernel32/MultiByteToWideChar.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/rostests/apitests/kernel32/MultiByteToWideChar.c 
b/modules/rostests/apitests/kernel32/MultiByteToWideChar.c
index 0cb6e2215b..82e4dc6bc1 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;
 }

Reply via email to