]> Dogcows Code - chaz/openbox/commitdiff
fixed memory leak of application_name
authorScott Moynes <smoynes@nexus.carleton.ca>
Sat, 20 Apr 2002 15:26:41 +0000 (15:26 +0000)
committerScott Moynes <smoynes@nexus.carleton.ca>
Sat, 20 Apr 2002 15:26:41 +0000 (15:26 +0000)
src/BaseDisplay.cc

index b9143b77abc3a5b7a36672e636fbacad215fa1fa..f2ac4c7948222d81d3732b15c3901e0c02a99b31 100644 (file)
@@ -404,6 +404,9 @@ BaseDisplay::~BaseDisplay(void) {
     timerList->remove(0);
 
   delete timerList;
+  
+  if (application_name != NULL)
+    delete [] application_name;
 
   XCloseDisplay(display);
 }
This page took 0.025283 seconds and 4 git commands to generate.