splash/Splash.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 1d0251c8ab48e2e1a4873d84b4bc573b3ae2a98d Author: Albert Astals Cid <[email protected]> Date: Sat May 21 20:02:26 2016 +0200 Fix memory leak in Splash::gouraudTriangleShadedFill diff --git a/splash/Splash.cc b/splash/Splash.cc index 5acbe8e..4d33cf7 100644 --- a/splash/Splash.cc +++ b/splash/Splash.cc @@ -11,7 +11,7 @@ // All changes made under the Poppler project to this file are licensed // under GPL version 2 or later // -// Copyright (C) 2005-2015 Albert Astals Cid <[email protected]> +// Copyright (C) 2005-2016 Albert Astals Cid <[email protected]> // Copyright (C) 2005 Marco Pesenti Gritti <[email protected]> // Copyright (C) 2010-2016 Thomas Freitag <[email protected]> // Copyright (C) 2010 Christian Feuersänger <[email protected]> @@ -5768,6 +5768,9 @@ GBool Splash::gouraudTriangleShadedFill(SplashGouraudColor *shading) } } } else { + if (!bDirectBlit) { + delete blitTarget; + } return gFalse; }
_______________________________________________ poppler mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/poppler
