Explorar o código

* Free Contents of TFPWebAction in Destructor

git-svn-id: trunk@17322 -
michael %!s(int64=14) %!d(string=hai) anos
pai
achega
6408dbfbb3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;