git-svn-id: https://svn.eduke32.com/eduke32@982 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-08-16 21:42:42 +00:00
parent fa2b8cb9ec
commit 059ecb1fb6

View file

@ -9906,6 +9906,7 @@ static void loadtmb(void)
static void freeconmem(void) static void freeconmem(void)
{ {
int i; int i;
extern char *bitptr;
for (i=(MAXLEVELS*(MAXVOLUMES+1))-1;i>=0;i--) // +1 volume for "intro", "briefing" music 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); Bfree(labelcode);
if (script != NULL) if (script != NULL)
Bfree(script); Bfree(script);
if (bitptr != NULL)
Bfree(bitptr);
} }
/* /*