From 059ecb1fb666d51ec75cfdfdbfb2268a579e1552 Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 16 Aug 2008 21:42:42 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@982 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 04b84b29c..14a9a84f8 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -9906,6 +9906,7 @@ static void loadtmb(void) static void freeconmem(void) { int i; + extern char *bitptr; for (i=(MAXLEVELS*(MAXVOLUMES+1))-1;i>=0;i--) // +1 volume for "intro", "briefing" music { @@ -9967,6 +9968,8 @@ static void freeconmem(void) Bfree(labelcode); if (script != NULL) Bfree(script); + if (bitptr != NULL) + Bfree(bitptr); } /*