mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
fix a leak in the local-allocator
This commit is contained in:
parent
98b6772db9
commit
b595ec03f8
1 changed files with 1 additions and 0 deletions
1
ir.c
1
ir.c
|
@ -2369,6 +2369,7 @@ error:
|
||||||
cleanup:
|
cleanup:
|
||||||
for (i = 0; i < vec_size(alloc.locals); ++i)
|
for (i = 0; i < vec_size(alloc.locals); ++i)
|
||||||
ir_value_delete(alloc.locals[i]);
|
ir_value_delete(alloc.locals[i]);
|
||||||
|
vec_free(alloc.unique);
|
||||||
vec_free(alloc.locals);
|
vec_free(alloc.locals);
|
||||||
vec_free(alloc.sizes);
|
vec_free(alloc.sizes);
|
||||||
vec_free(alloc.positions);
|
vec_free(alloc.positions);
|
||||||
|
|
Loading…
Reference in a new issue