don't call FreeLibrary on a module "loaded" with GetModuleHandle
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3994 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
245bc39dc2
commit
682c9c3f94
1 changed files with 0 additions and 2 deletions
|
@ -109,8 +109,6 @@ void CreateToolBar()
|
|||
SendMessage(g_toolbar.hwnd, TB_ADDBITMAP, IMAGECOUNT, (LONG) &tbBitmap);
|
||||
}
|
||||
|
||||
FreeLibrary(hMod);
|
||||
|
||||
HMENU toolmenu = GetSubMenu(g_sdata.menu, SCRIPT_MENU_INDEX);
|
||||
g_toolbar.dropdownmenu = GetSubMenu(toolmenu, COMPRESSOR_MENU_INDEX);
|
||||
RECT rect;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue