From 9704cb3a99b80e387a0e0787d3ad617754ca7b66 Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 13 Jun 2005 19:39:36 +0000 Subject: [PATCH] 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 --- Contrib/NSISdl/netinc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contrib/NSISdl/netinc.h b/Contrib/NSISdl/netinc.h index 0bac8a0c..ed8bd002 100644 --- a/Contrib/NSISdl/netinc.h +++ b/Contrib/NSISdl/netinc.h @@ -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