summaryrefslogtreecommitdiff
path: root/src/fontcache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontcache.cpp')
-rw-r--r--src/fontcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 607265d19..03977c402 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -365,7 +365,7 @@ static void SetGlyphPtr(FontSize size, WChar key, const GlyphEntry *glyph)
void *AllocateFont(size_t size)
{
- return malloc(size);
+ return MallocT<byte>(size);
}