зеркало из https://github.com/mozilla/pjs.git
Don't free null.
This commit is contained in:
Родитель
ef982986cc
Коммит
8087a9cb49
|
@ -973,10 +973,10 @@ MOZCE_SHUNT_API HWND mozce_FindWindowA(LPCSTR inClass, LPCSTR inWindow)
|
|||
|
||||
retval = FindWindow(wClass, NULL);
|
||||
|
||||
if (!wWindow)
|
||||
if (wWindow)
|
||||
free(wWindow);
|
||||
|
||||
if (!wClass)
|
||||
if (wClass)
|
||||
free(wClass);
|
||||
|
||||
return retval;
|
||||
|
|
Загрузка…
Ссылка в новой задаче