summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--splash/Splash.cc2
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;
}
}