Explorar el Código

* Fix bug #38003, small memleak

git-svn-id: trunk@47236 -
michael hace 4 años
padre
commit
e4155ea9ad
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/ptc/src/ptcwrapper/ptcwrapper.pp

+ 1 - 0
packages/ptc/src/ptcwrapper/ptcwrapper.pp

@@ -179,6 +179,7 @@ end;
 
 destructor TPTCWrapperThread.Destroy;
 begin
+  FreeAndNil(FSurfaceCriticalSection);
   inherited;
 end;