summaryrefslogtreecommitdiff
path: root/nopacity.c
diff options
context:
space:
mode:
authorSoeren Moch <smoch@web.de>2021-02-13 14:03:29 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-02-16 11:51:04 +0100
commit52b25fa9d45bb50d476c3d9e4aad78b9d87ed990 (patch)
tree1e48462e943e0fc7286251e21fa3ec91824b584b /nopacity.c
parent05c188d3e03f41fcfdcb1e070a638c55d8cb491e (diff)
downloadskin-nopacity-52b25fa9d45bb50d476c3d9e4aad78b9d87ed990.tar.gz
skin-nopacity-52b25fa9d45bb50d476c3d9e4aad78b9d87ed990.tar.bz2
Cleanup geo and font manager delete
Delete global geoManager and fontManager in the same class (cNopacity) where they were created. Signed-off-by: Soeren Moch <smoch@web.de>
Diffstat (limited to 'nopacity.c')
-rw-r--r--nopacity.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/nopacity.c b/nopacity.c
index 2a910f4..c194cb8 100644
--- a/nopacity.c
+++ b/nopacity.c
@@ -26,6 +26,11 @@ cNopacity::cNopacity(cImageCache *imgCache) : cSkin("nOpacity", &::Theme) {
imgCache->CreateCache();
}
+cNopacity::~cNopacity() {
+ delete geoManager;
+ delete fontManager;
+}
+
const char *cNopacity::Description(void) {
return "nOpacity";
}