More memory clean-ups
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2901 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8380534b1d
commit
41808c26be
7 changed files with 48 additions and 9 deletions
|
@ -412,7 +412,7 @@ int CEXEBuild::getcurdbsize() { return cur_datablock->getlen(); }
|
|||
|
||||
int CEXEBuild::add_string(const char *string, int process/*=1*/) // returns offset in stringblock
|
||||
{
|
||||
if (!*string) return 0;
|
||||
if (!string || !*string) return 0;
|
||||
|
||||
if (*string == '$' && *(string+1) == '(') {
|
||||
int idx = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue