stb_leakcheck: Derp, I should free the right thing.

Fixes #307, this time for real.
dev
Fabian Giesen 2017-07-23 01:33:21 -07:00
parent 5a5cf7f9ba
commit 7725f8b9cd
1 changed files with 1 additions and 1 deletions

View File

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