From bed4d7c1e55947b6c69480e33abc63c280c62471 Mon Sep 17 00:00:00 2001 From: Scott Moynes Date: Sat, 20 Apr 2002 15:26:41 +0000 Subject: [PATCH] fixed memory leak of application_name --- src/BaseDisplay.cc | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.45.2