diff --git a/Contrib/UserInfo/UserInfo.c b/Contrib/UserInfo/UserInfo.c index 229a342e..1d0aaca7 100644 --- a/Contrib/UserInfo/UserInfo.c +++ b/Contrib/UserInfo/UserInfo.c @@ -94,8 +94,12 @@ void __declspec(dllexport) GetAccountType(HWND hwndParent, int string_size, FreeSid(psid); } } + + GlobalFree(ptg); } } + + CloseHandle(hThread); } pushstring(group); diff --git a/Plugins/UserInfo.dll b/Plugins/UserInfo.dll index e1c16a0d..e96e3b7b 100644 Binary files a/Plugins/UserInfo.dll and b/Plugins/UserInfo.dll differ