[regsrv32]

don't free hDll twice

svn path=/trunk/; revision=64835
This commit is contained in:
Christoph von Wittich 2014-10-19 21:30:26 +00:00
parent 7cd22fe762
commit 39c0fb7d1f

View file

@ -448,7 +448,6 @@ int WINAPI _tWinMain(
nRetValue = EXITCODE_FAILURE;
}
else {
FreeLibrary(hDll);
// DllInstall was not found, display an error message
lptMsgBuffer = (LPTSTR)malloc((_tcslen(MissingEntry) - 8 + _tcslen(tszDllInstall) * 2 + _tcslen(lptDllName) * 2 + 1) * sizeof(TCHAR));
_stprintf(lptMsgBuffer,MissingEntry,lptDllName,tszDllInstall,tszDllInstall,lptDllName);