diff --git a/src/fontcache.cpp b/src/fontcache.cpp --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -365,7 +365,7 @@ static void SetGlyphPtr(FontSize size, W void *AllocateFont(size_t size) { - return malloc(size); + return MallocT(size); }