[poppler] poppler/SplashOutputDev.cc
Albert Astals Cid
aacid at kemper.freedesktop.org
Tue Jan 25 12:25:16 PST 2011
poppler/SplashOutputDev.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 5081356fcc69012e9df95dbf1e3c36e7c1e751c4
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 c3ae695..394c592 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>
@@ -3379,6 +3379,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