Browse Source

* Fix bug #38003, small memleak

git-svn-id: trunk@47236 -
michael 4 years ago
parent
commit
e4155ea9ad
1 changed files with 1 additions and 0 deletions
  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;