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

New commits:
commit 3bd6914213c58329d19ec547de42731c3fb22672
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 0b3722a..0b60a87 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]>
@@ -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;
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler

Reply via email to