diff --git a/stb_leakcheck.h b/stb_leakcheck.h index 7322ab5..e8ee8eb 100644 --- a/stb_leakcheck.h +++ b/stb_leakcheck.h @@ -59,6 +59,7 @@ void stb_leakcheck_free(void *ptr) if (mi->next) mi->next->prev = mi->prev; #endif + free(ptr); } }