summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorScott Moynes <smoynes@nexus.carleton.ca>2002-04-20 15:26:41 +0000
committerScott Moynes <smoynes@nexus.carleton.ca>2002-04-20 15:26:41 +0000
commitbed4d7c1e55947b6c69480e33abc63c280c62471 (patch)
treec3b24904d905f84af2c90b7f10fa76ee169208fa /src
parent62e178416108c41f8d3e7c1a5fc113c7e7724543 (diff)
fixed memory leak of application_name
Diffstat (limited to 'src')
-rw-r--r--src/BaseDisplay.cc3
1 files changed, 3 insertions, 0 deletions
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);
}