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:
kichik 2003-09-12 11:16:33 +00:00
parent 8380534b1d
commit 41808c26be
7 changed files with 48 additions and 9 deletions

View file

@ -181,7 +181,8 @@ class SortedStringList
int num=gr.getlen()/sizeof(T);
for (int i=0; i<num; i++) {
free(s[i].name);
if (s[i].name)
free(s[i].name);
}
}