Parcourir la source

* Fix bug #38003, small memleak

git-svn-id: trunk@47236 -
michael il y a 4 ans
Parent
commit
e4155ea9ad
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;