mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
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:
parent
9b9a60aa89
commit
05be74510f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue