[poppler] Branch 'poppler-0.16' - poppler/SplashOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Jan 25 12:25:42 PST 2011
poppler/SplashOutputDev.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3bd6914213c58329d19ec547de42731c3fb22672
Author: Albert Astals Cid <aacid at kde.org>
Date: Tue Jan 25 20:26:25 2011 +0000
Fix leak in SplashOutputDev::axialShadedFill
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 0b3722a..0b60a87 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -20,7 +20,7 @@
// Copyright (C) 2006 Scott Turner <scotty1024 at mac.com>
// Copyright (C) 2007 Koji Otani <sho at bbr.jp>
// Copyright (C) 2009 Petr Gajdos <pgajdos at novell.com>
-// Copyright (C) 2009, 2010 Thomas Freitag <Thomas.Freitag at alfa.de>
+// Copyright (C) 2009-2011 Thomas Freitag <Thomas.Freitag at alfa.de>
// Copyright (C) 2009 Carlos Garcia Campos <carlosgc at gnome.org>
// Copyright (C) 2009 William Bader <williambader at hotmail.com>
// Copyright (C) 2010 Patrick Spendrin <ps_ml at gmx.de>
@@ -3375,6 +3375,7 @@ GBool SplashOutputDev::axialShadedFill(GfxState *state, GfxAxialShading *shading
retVal = (splash->shadedFill(path, shading->getHasBBox(), pattern) == splashOk);
setVectorAntialias(vaa);
state->clearPath();
+ delete pattern;
delete path;
return retVal;
More information about the poppler
mailing list