summaryrefslogtreecommitdiffstats
path: root/kpdf/xpdf/xpdf/PSOutputDev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kpdf/xpdf/xpdf/PSOutputDev.cc')
-rw-r--r--kpdf/xpdf/xpdf/PSOutputDev.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpdf/xpdf/xpdf/PSOutputDev.cc b/kpdf/xpdf/xpdf/PSOutputDev.cc
index d35739a5..4fb2cbfd 100644
--- a/kpdf/xpdf/xpdf/PSOutputDev.cc
+++ b/kpdf/xpdf/xpdf/PSOutputDev.cc
@@ -4386,7 +4386,7 @@ void PSOutputDev::doImageL1Sep(GfxImageColorMap *colorMap,
width, -height, height);
// allocate a line buffer
- lineBuf = (Guchar *)gmalloc(4 * width);
+ lineBuf = (Guchar *)gmallocn(width, 4);
// set up to process the data stream
imgStr = new ImageStream(str, width, colorMap->getNumPixelComps(),