mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-06 22:25:59 +02:00
* fix memleak pthread_attr, Mantis #25416 by Henry Vermaak.
git-svn-id: trunk@26220 -
This commit is contained in:
parent
7fc33865be
commit
996e802606
@ -357,6 +357,7 @@ Type PINTRTLEvent = ^TINTRTLEvent;
|
||||
threadid := TThreadID(0);
|
||||
end;
|
||||
CBeginThread:=threadid;
|
||||
pthread_attr_destroy(@thread_attr);
|
||||
{$ifdef DEBUG_MT}
|
||||
writeln('BeginThread returning ',ptrint(CBeginThread));
|
||||
{$endif DEBUG_MT}
|
||||
|
Loading…
Reference in New Issue
Block a user