]> Dogcows Code - chaz/openbox/commitdiff
fixed a memory leak for resource.titlebar_layout
authorScott Moynes <smoynes@nexus.carleton.ca>
Sat, 20 Apr 2002 15:25:18 +0000 (15:25 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Sat, 20 Apr 2002 15:25:18 +0000 (15:25 +0000)
src/openbox.cc

index 86baec6e3c02d4dfc4d338e375bf5036c466df77..d048837875b1a0107c9d374d970cb60a2ac833c0 100644 (file)
@@ -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;
This page took 0.023351 seconds and 4 git commands to generate.