From 300491ce5a932ba777274e7f5c3d085f5ca59ee0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 7 Jul 2002 10:27:06 +0000 Subject: sync with bb-cvs --- src/GCCache.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/GCCache.cc') 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) { -- cgit v1.2.3