[poppler] poppler/SplashOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Mon May 26 11:53:24 PDT 2008
poppler/SplashOutputDev.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1fd856aa1fb48869111e5b86f263bfd94fa7af17
Author: Albert Astals Cid <aacid at kde.org>
Date: Mon May 26 20:52:53 2008 +0200
Do not leak tSplash if transpGroupStack->blendingColorSpace is NULL
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 65bd6b1..823a1aa 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -2611,9 +2611,9 @@ void SplashOutputDev::setSoftMask(GfxState * /*state*/, double * /*bbox*/,
if (!alpha && colorMode != splashModeMono1) {
//~ need to correctly handle the case where no blending color
//~ space is given
- tSplash = new Splash(tBitmap, vectorAntialias,
- transpGroupStack->origSplash->getScreen());
if (transpGroupStack->blendingColorSpace) {
+ tSplash = new Splash(tBitmap, vectorAntialias,
+ transpGroupStack->origSplash->getScreen());
switch (colorMode) {
case splashModeMono1:
// transparency is not supported in mono1 mode
More information about the poppler
mailing list