From f6c1f359e154f0fc1c423db32478bd9596cd9c97 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 21 Dec 2010 08:39:58 +0000 Subject: [PATCH] - fixed: CreateCachedNodes did not free its file buffer. SVN r3070 (trunk) --- src/p_glnodes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/p_glnodes.cpp b/src/p_glnodes.cpp index c48d72e8f..4d34c7047 100644 --- a/src/p_glnodes.cpp +++ b/src/p_glnodes.cpp @@ -1223,6 +1223,7 @@ static void CreateCachedNodes(MapData *map) FILE *f = fopen(path, "wb"); fwrite(compressed, 1, outlen+offset, f); fclose(f); + delete [] compressed; }