From 62e178416108c41f8d3e7c1a5fc113c7e7724543 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Sat, 20 Apr 2002 15:25:18 +0000 Subject: [PATCH] fixed a memory leak for resource.titlebar_layout --- src/openbox.cc | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.45.2