fixed a memory leak for resource.titlebar_layout
This commit is contained in:
parent
8f8eba7b96
commit
62e1784161
1 changed files with 3 additions and 0 deletions
|
@ -261,6 +261,9 @@ Openbox::~Openbox() {
|
||||||
if (resource.style_file)
|
if (resource.style_file)
|
||||||
delete [] resource.style_file;
|
delete [] resource.style_file;
|
||||||
|
|
||||||
|
if (resource.titlebar_layout)
|
||||||
|
delete [] resource.titlebar_layout;
|
||||||
|
|
||||||
delete timer;
|
delete timer;
|
||||||
|
|
||||||
delete screenList;
|
delete screenList;
|
||||||
|
|
Loading…
Reference in a new issue