mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 490274 - Memory leak in toolkit/xre/nsWindowsRestart.cpp; r=benjamin
This commit is contained in:
parent
d47fd76ada
commit
4f3fae71b8
@ -321,6 +321,8 @@ WinLaunchChild(const PRUnichar *exePath, int argc, PRUnichar **argv)
|
|||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
wprintf(L"Error restarting: %s\n", lpMsgBuf ? lpMsgBuf : L"(null)");
|
wprintf(L"Error restarting: %s\n", lpMsgBuf ? lpMsgBuf : L"(null)");
|
||||||
|
if (lpMsgBuf)
|
||||||
|
LocalFree(lpMsgBuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(cl);
|
free(cl);
|
||||||
|
Loading…
Reference in New Issue
Block a user