From: Scott Moynes Date: Sat, 20 Apr 2002 15:26:41 +0000 (+0000) Subject: fixed memory leak of application_name X-Git-Tag: openbox-1_0_1^2~59 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=bed4d7c1e55947b6c69480e33abc63c280c62471;p=dana%2Fopenbox.git fixed memory leak of application_name --- diff --git a/src/BaseDisplay.cc b/src/BaseDisplay.cc index b9143b77..f2ac4c79 100644 --- a/src/BaseDisplay.cc +++ b/src/BaseDisplay.cc @@ -404,6 +404,9 @@ BaseDisplay::~BaseDisplay(void) { timerList->remove(0); delete timerList; + + if (application_name != NULL) + delete [] application_name; XCloseDisplay(display); }