Explorar el Código

* Call inherited in destructors.

git-svn-id: trunk@20590 -
marco hace 13 años
padre
commit
86bf5f36ba
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      packages/fcl-process/src/pipes.pp

+ 2 - 0
packages/fcl-process/src/pipes.pp

@@ -80,6 +80,7 @@ end;
 destructor TInputPipeStream.Destroy;
 begin
   PipeClose (Handle);
+  inherited;
 end;
 
 Function TInputPipeStream.Write (Const Buffer; Count : Longint) : longint;
@@ -110,6 +111,7 @@ end;
 destructor TOutputPipeStream.Destroy;
 begin
   PipeClose (Handle);
+  inherited;
 end;
 
 Function TOutputPipeStream.Read(Var Buffer; Count : Longint) : longint;