From 0da3689f885ad4e596039d8d8ebc7597a1ac8481 Mon Sep 17 00:00:00 2001 From: ac_stef Date: Mon, 23 Feb 2009 18:37:15 +0000 Subject: [PATCH] waste a little memory git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4179 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/protos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/protos.h b/source/src/protos.h index c6661e31..dfe96880 100644 --- a/source/src/protos.h +++ b/source/src/protos.h @@ -805,7 +805,7 @@ struct servercommandline if(*l && !this->checkarg(l)) printf("unknown parameter in file '%s', line %d: '%s'\n", clfilename, line, l); } - delete[] buf; + // don't free *buf - we may still have pointers using it } else printf("failed to read file '%s'\n", clfilename); clfilenesting--;