Free the explosion objects when clearing tents.

This fixes the hang after a few (3 or 4) play/timedemo runs of bigass1. Now
23 runs (and counting) seems to work well, though there seems to be a
memory leak somewhere.
This commit is contained in:
Bill Currie 2010-12-14 00:13:13 +09:00
parent 9b9a60aa89
commit 05be74510f

View file

@ -219,6 +219,8 @@ CL_ClearTEnts (void)
t->ent.efrag = 0;
free_temp_entities (to->to.ex.tent);
}
free_tent_objects (cl_explosions);
cl_explosions = 0;
}
static inline void