]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Holy whoops
authorDale Weiler <killfieldengine@gmail.com>
Sun, 2 Jun 2013 08:25:00 +0000 (08:25 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Sun, 2 Jun 2013 08:25:00 +0000 (08:25 +0000)
stat.c

diff --git a/stat.c b/stat.c
index 7747763cad9bf431a30e6f2bb9de33aa3117cf8c..5c1a6f486e2dfb2a9cdcb598da30e14638e41207 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -82,6 +82,8 @@ void stat_mem_deallocate(void *ptr) {
     /* move ahead */
     if (info == stat_mem_block_root)
         stat_mem_block_root = info->next;
     /* move ahead */
     if (info == stat_mem_block_root)
         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) {