mirror of
https://github.com/nothings/stb
synced 2024-12-15 04:22:35 +03:00
stb_leakcheck: Derp, I should free the right thing.
Fixes #307, this time for real.
This commit is contained in:
parent
5a5cf7f9ba
commit
7725f8b9cd
@ -59,7 +59,7 @@ void stb_leakcheck_free(void *ptr)
|
||||
if (mi->next)
|
||||
mi->next->prev = mi->prev;
|
||||
#endif
|
||||
free(ptr);
|
||||
free(mi);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user