initialize g_db_hFile with INVALID_HANDLE_VALUE so the handle 0 will not be closed in CleanUp() if loadHeaders() is never called
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3634 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e1deb281f7
commit
5364b5da62
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ int g_flags;
|
|||
int g_filehdrsize;
|
||||
int g_is_uninstaller;
|
||||
|
||||
HANDLE g_db_hFile;
|
||||
HANDLE g_db_hFile=INVALID_HANDLE_VALUE;
|
||||
|
||||
#if defined(NSIS_CONFIG_COMPRESSION_SUPPORT) && defined(NSIS_COMPRESS_WHOLE)
|
||||
HANDLE dbd_hFile=INVALID_HANDLE_VALUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue