Ver código fonte

* Free Contents of TFPWebAction in Destructor

git-svn-id: trunk@17322 -
michael 14 anos atrás
pai
commit
6408dbfbb3
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      packages/fcl-web/src/base/fpweb.pp

+ 1 - 0
packages/fcl-web/src/base/fpweb.pp

@@ -204,6 +204,7 @@ end;
 
 destructor TFPWebAction.destroy;
 begin
+  FreeandNil(FContents);
   FreeAndNil(FTemplate);
   inherited destroy;
 end;