mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Fix a silly error in QF/alloc.h's FREE.
FREE was effectively a nop :P This fixes the crazy memory leak in qfvis.
This commit is contained in:
parent
81e4d3072c
commit
cb025838aa
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@
|
|||
#define FREE(n, p) \
|
||||
do { \
|
||||
p->next = free_##n; \
|
||||
free_##n = p->next; \
|
||||
free_##n = p; \
|
||||
} while (0)
|
||||
#else
|
||||
#define ALLOC(s, t, n, v) \
|
||||
|
|
Loading…
Reference in a new issue