diff options
author | Albert Astals Cid <aacid@kde.org> | 2014-04-06 15:17:50 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2014-04-06 16:08:14 +0200 |
commit | b496b6665803247b10b018ae939a2a452fa4a48f (patch) | |
tree | d95e808bb72406e97a023e856e9ff1dee816dbbb | |
parent | 1b612f355e9f29fa93c15a9de1188049a8e086b6 (diff) |
Fix memory leak
CID #16864
-rw-r--r-- | poppler/SplashOutputDev.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc index d0a94546..01979fdd 100644 --- a/poppler/SplashOutputDev.cc +++ b/poppler/SplashOutputDev.cc @@ -15,7 +15,7 @@ // // Copyright (C) 2005 Takashi Iwai <tiwai@suse.de> // Copyright (C) 2006 Stefan Schweizer <genstef@gentoo.org> -// Copyright (C) 2006-2013 Albert Astals Cid <aacid@kde.org> +// Copyright (C) 2006-2014 Albert Astals Cid <aacid@kde.org> // Copyright (C) 2006 Krzysztof Kowalczyk <kkowalczyk@gmail.com> // Copyright (C) 2006 Scott Turner <scotty1024@mac.com> // Copyright (C) 2007 Koji Otani <sho@bbr.jp> @@ -4346,6 +4346,7 @@ GBool SplashOutputDev::gouraudTriangleShadedFill(GfxState *state, GfxGouraudTria setVectorAntialias(vaa); return retVal; } + delete splashShading; return gFalse; } |