From 52b25fa9d45bb50d476c3d9e4aad78b9d87ed990 Mon Sep 17 00:00:00 2001 From: Soeren Moch Date: Sat, 13 Feb 2021 14:03:29 +0100 Subject: 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 --- nopacity.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nopacity.c') 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"; } -- cgit v1.2.3