summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2016-09-04 15:23:25 +0200
committerAlbert Astals Cid <aacid@kde.org>2016-09-04 15:32:21 +0200
commit364c15795a0508d421ca636bc7b71f93039a82b1 (patch)
tree1fdffc5ca01e738ad2796969986e6e0c6710f7d3
parent22c4701d5f7be0010ee4519daa546fba5ab7ac13 (diff)
Always delete aaBuf if it is there
Doesn't matter if antialias is temporarily disabled
-rw-r--r--splash/Splash.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/splash/Splash.cc b/splash/Splash.cc
index 4d33cf78..e179c1cb 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -1642,9 +1642,7 @@ Splash::~Splash() {
restoreState();
}
delete state;
- if (vectorAntialias) {
- delete aaBuf;
- }
+ delete aaBuf;
}
//------------------------------------------------------------------------