Browse Source

stb_leakcheck: Make stb_leakcheck_free actually free.

Fixes issue #307.
Fabian Giesen 8 years ago
parent
commit
5a5cf7f9ba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      stb_leakcheck.h

+ 1 - 0
stb_leakcheck.h

@@ -59,6 +59,7 @@ void stb_leakcheck_free(void *ptr)
       if (mi->next)
          mi->next->prev = mi->prev;
       #endif
+      free(ptr);
    }
 }