mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
Holy whoops
This commit is contained in:
parent
9af3c502da
commit
7ea67748fa
1 changed files with 2 additions and 0 deletions
2
stat.c
2
stat.c
|
@ -82,6 +82,8 @@ void stat_mem_deallocate(void *ptr) {
|
||||||
/* move ahead */
|
/* move ahead */
|
||||||
if (info == stat_mem_block_root)
|
if (info == stat_mem_block_root)
|
||||||
stat_mem_block_root = info->next;
|
stat_mem_block_root = info->next;
|
||||||
|
|
||||||
|
free(info);
|
||||||
}
|
}
|
||||||
|
|
||||||
void *stat_mem_reallocate(void *ptr, size_t size, size_t line, const char *file) {
|
void *stat_mem_reallocate(void *ptr, size_t size, size_t line, const char *file) {
|
||||||
|
|
Loading…
Reference in a new issue