mirror of
https://github.com/nothings/stb
synced 2024-12-15 20:32:33 +03:00
stb_leakcheck: Make stb_leakcheck_free actually free.
Fixes issue #307.
This commit is contained in:
parent
5ebeb38edb
commit
5a5cf7f9ba
@ -59,6 +59,7 @@ void stb_leakcheck_free(void *ptr)
|
||||
if (mi->next)
|
||||
mi->next->prev = mi->prev;
|
||||
#endif
|
||||
free(ptr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user