delete [] x is more correct, although it doesn't really matter with our implementation of new and delete
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4065 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
52fec79fc8
commit
9704cb3a99
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
#define strcat lstrcat
|
||||
#define strlen lstrlen
|
||||
#define malloc(x) (new char[x])
|
||||
#define free(x) {delete x;}
|
||||
#define free(x) {delete [] x;}
|
||||
typedef int socklen_t;
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue