From: Scott Moynes Date: Sat, 20 Apr 2002 15:25:18 +0000 (+0000) Subject: fixed a memory leak for resource.titlebar_layout X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=62e178416108c41f8d3e7c1a5fc113c7e7724543;p=chaz%2Fopenbox fixed a memory leak for resource.titlebar_layout --- diff --git a/src/openbox.cc b/src/openbox.cc index 86baec6e..d0488378 100644 --- a/src/openbox.cc +++ b/src/openbox.cc @@ -261,6 +261,9 @@ Openbox::~Openbox() { if (resource.style_file) delete [] resource.style_file; + if (resource.titlebar_layout) + delete [] resource.titlebar_layout; + delete timer; delete screenList;