Browse Source

* patch from Mantis #23647 Calls inherited destroy in destructor, resolves memory leak.

git-svn-id: trunk@23480 -
marco 12 years ago
parent
commit
0560af663c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-extra/src/daemonapp.pp

+ 1 - 0
packages/fcl-extra/src/daemonapp.pp

@@ -929,6 +929,7 @@ destructor TCustomDaemonApplication.Destroy;
 begin
 begin
   if assigned(FEventLog) then
   if assigned(FEventLog) then
     FEventLog.Free;
     FEventLog.Free;
+  inherited Destroy;
 end;
 end;
 
 
 procedure TCustomDaemonApplication.DoRun;
 procedure TCustomDaemonApplication.DoRun;