poppler/SplashOutputDev.cc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 5081356fcc69012e9df95dbf1e3c36e7c1e751c4
Author: Albert Astals Cid <[email protected]>
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 <[email protected]>
 // Copyright (C) 2007 Koji Otani <[email protected]>
 // Copyright (C) 2009 Petr Gajdos <[email protected]>
-// Copyright (C) 2009, 2010 Thomas Freitag <[email protected]>
+// Copyright (C) 2009-2011 Thomas Freitag <[email protected]>
 // Copyright (C) 2009 Carlos Garcia Campos <[email protected]>
 // Copyright (C) 2009 William Bader <[email protected]>
 // Copyright (C) 2010 Patrick Spendrin <[email protected]>
@@ -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;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to