diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-04-20 15:26:41 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2002-04-20 15:26:41 +0000 |
| commit | bed4d7c1e55947b6c69480e33abc63c280c62471 (patch) | |
| tree | c3b24904d905f84af2c90b7f10fa76ee169208fa /src/BaseDisplay.cc | |
| parent | 62e178416108c41f8d3e7c1a5fc113c7e7724543 (diff) | |
fixed memory leak of application_name
Diffstat (limited to 'src/BaseDisplay.cc')
| -rw-r--r-- | src/BaseDisplay.cc | 3 |
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); } |
