changeset 2038:db2bd1610db1

delete []
author corvid <corvid@lavabit.com>
date Thu, 19 May 2011 21:22:45 +0000
parents 18bad2dd4d3b
children 034d4d1baf33
files dpi/downloads.cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/downloads.cc	Thu May 19 18:15:16 2011 +0000
+++ b/dpi/downloads.cc	Thu May 19 21:22:45 2011 +0000
@@ -431,7 +431,7 @@
    int idx = (strcmp(dl_argv[1], "-c")) ? 2 : 3;
    dFree(dl_argv[idx]);
    dFree(dl_argv[idx+3]);
-   delete(dl_argv);
+   delete [] dl_argv;
 
    delete(group);
 }