summaryrefslogtreecommitdiff
path: root/splash
diff options
context:
space:
mode:
authorOliver Sander <oliver.sander@tu-dresden.de>2018-12-01 13:36:40 +0100
committerAlbert Astals Cid <tsdgeos@yahoo.es>2019-03-21 22:28:12 +0000
commit760ca656bd30bba162392011ebca5c67df25ae47 (patch)
tree6bfc28b8a2cebda71ba8be33ba774a7ea79654e5 /splash
parent3bf47e100717f4295652d578ecd12e489937b329 (diff)
Remove method deleteGooList
Diffstat (limited to 'splash')
-rw-r--r--splash/SplashBitmap.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/splash/SplashBitmap.cc b/splash/SplashBitmap.cc
index 8b260a06..d4411a0c 100644
--- a/splash/SplashBitmap.cc
+++ b/splash/SplashBitmap.cc
@@ -159,7 +159,10 @@ SplashBitmap::~SplashBitmap() {
}
}
gfree(alpha);
- deleteGooList<GfxSeparationColorSpace*>(separationList);
+ for (auto entry : *separationList) {
+ delete entry;
+ }
+ delete separationList;
}