fixed memory leak of application_name
This commit is contained in:
parent
62e1784161
commit
bed4d7c1e5
1 changed files with 3 additions and 0 deletions
|
@ -404,6 +404,9 @@ BaseDisplay::~BaseDisplay(void) {
|
|||
timerList->remove(0);
|
||||
|
||||
delete timerList;
|
||||
|
||||
if (application_name != NULL)
|
||||
delete [] application_name;
|
||||
|
||||
XCloseDisplay(display);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue