Parcourir la source

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

git-svn-id: trunk@23480 -
marco il y a 12 ans
Parent
commit
0560af663c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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
   if assigned(FEventLog) then
     FEventLog.Free;
+  inherited Destroy;
 end;
 
 procedure TCustomDaemonApplication.DoRun;