diff options
Diffstat (limited to 'src/GCCache.cc')
| -rw-r--r-- | src/GCCache.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GCCache.cc b/src/GCCache.cc index 57310a44..35670a85 100644 --- a/src/GCCache.cc +++ b/src/GCCache.cc @@ -35,6 +35,12 @@ extern "C" { #include "Util.hh" +BGCCacheContext::~BGCCacheContext(void) { + if (gc) + XFreeGC(display->getXDisplay(), gc); +} + + void BGCCacheContext::set(const BColor &_color, const XFontStruct * const _font, const int _function, const int _subwindow) { |
