Author: cwittich
Date: Sun Oct 19 21:30:26 2014
New Revision: 64835
URL:
http://svn.reactos.org/svn/reactos?rev=64835&view=rev
Log:
[regsrv32]
don't free hDll twice
Modified:
trunk/reactos/base/system/regsvr32/regsvr32.c
Modified: trunk/reactos/base/system/regsvr32/regsvr32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/regsvr32/regsv…
==============================================================================
--- trunk/reactos/base/system/regsvr32/regsvr32.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/regsvr32/regsvr32.c [iso-8859-1] Sun Oct 19 21:30:26 2014
@@ -448,7 +448,6 @@
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);