Fix secondary freeing memory block

This commit is contained in:
Stas Degteff 2011-02-19 02:08:13 +00:00
parent 54dabe3345
commit 1e71076fd4

View File

@ -506,8 +506,11 @@ BOOL WINAPI GoldedCtrlHandler(DWORD dwCtrlType) {
void Uninitialize()
{
if (WideUsername) {
delete WideUsername;
LookupNodeClear();
WideUsername = NULL;
}
LookupNodeClear();
}