diff options
author | Albert Astals Cid <aacid@kde.org> | 2014-04-06 15:57:38 +0200 |
---|---|---|
committer | Albert Astals Cid <aacid@kde.org> | 2014-04-06 16:08:15 +0200 |
commit | 0ef290a7c5a8fa54d3fe0f646abdf098443a7a67 (patch) | |
tree | 309e681a51589d343fffe82617d2dcf3bad515a5 | |
parent | 8810b8917fded340b784873a91ca025b0bb49f3d (diff) |
Fix memory leak
CID #16852
-rw-r--r-- | splash/Splash.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc index b303cf2c..aa46494c 100644 --- a/splash/Splash.cc +++ b/splash/Splash.cc @@ -2511,6 +2511,8 @@ SplashError Splash::fillWithPattern(SplashPath *path, GBool eo, delta = (yMinI == yMaxI) ? yMaxFP - yMinFP : xMaxFP - xMinFP; if (delta < 0.2) { opClipRes = splashClipAllOutside; + delete scanner; + delete xPath; return splashOk; } } |