diff options
author | Albert Astals Cid <aacid@kde.org> | 2009-04-11 00:31:57 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2009-04-11 00:31:57 +0200 |
commit | 9cf2325fb22f812b31858e519411f57747d39bd8 (patch) | |
tree | a3e03ba664475b379edec748d80ec75719e54678 /splash/SplashFTFont.cc | |
parent | c399b2d512aa073b0d7cd8eb5413a4b43f0d6aef (diff) |
More gmalloc → gmallocn
Diffstat (limited to 'splash/SplashFTFont.cc')
-rw-r--r-- | splash/SplashFTFont.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/splash/SplashFTFont.cc b/splash/SplashFTFont.cc index 0039feb6..c3b298af 100644 --- a/splash/SplashFTFont.cc +++ b/splash/SplashFTFont.cc @@ -243,7 +243,7 @@ GBool SplashFTFont::makeGlyph(int c, int xFrac, int yFrac, } else { rowSize = (bitmap->w + 7) >> 3; } - bitmap->data = (Guchar *)gmalloc(rowSize * bitmap->h); + bitmap->data = (Guchar *)gmallocn(rowSize, bitmap->h); bitmap->freeData = gTrue; for (i = 0, p = bitmap->data, q = slot->bitmap.buffer; i < bitmap->h; |