From 33cdfc71dc0afa55e9e9a0df3527b4dc1deaca4b Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 8 Dec 2007 14:50:41 +0000 Subject: (svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions. --- src/fontcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fontcache.cpp') 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(size); } -- cgit v1.2.3-54-g00ecf