Indy / memory leak > TIdCriticalSection > IdStack.pas > 意図的なleak


動作環境
C++ Builder XE4

FastMMでTeeChartを使うソフトのメモリリークをチェック中。

21 - 36 bytes: TIdCriticalSection x 1
のようなリークが見られる。

stackoverflowによると

FAstMM reports a memoryleak from a TIdCriticalSection in IdStack.pas. I understand this is a intentional leak, that is documented in the code.

ということで意図的なleakらしい。

IdStack.pasを使うユニットの判別についてもリンク先に記載あり。