fixed some mismatched new and delete operators

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3465 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-02-05 12:19:02 +00:00
parent d08b963619
commit d07ec8774f
5 changed files with 35 additions and 17 deletions

View file

@ -321,7 +321,7 @@ int CEXEBuild::GenerateLangTables() {
DWORD dwSize; \
dlg = td.Save(dwSize); \
res_editor->UpdateResource(RT_DIALOG, MAKEINTRESOURCE(id), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), dlg, dwSize); \
free(dlg); \
res_editor->FreeResource(dlg); \
} \
}
@ -377,7 +377,7 @@ int CEXEBuild::GenerateLangTables() {
DWORD dwSize; \
dlg = td.Save(dwSize); \
res_editor->UpdateResource(RT_DIALOG, MAKEINTRESOURCE(id+cur_offset), MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), dlg, dwSize); \
free(dlg); \
res_editor->FreeResource(dlg); \
} \
}