pleriche / FastMM5

FastMM is a fast replacement memory manager for Embarcadero Delphi applications that scales well across multiple threads and CPU cores, is not prone to memory fragmentation, and supports shared memory without the use of external .DLL files.
283 stars 73 forks source link

Avoid memory allocation before attempting to use shared mm #22

Closed nowlar closed 3 years ago

nowlar commented 3 years ago

In Delphi 10.3/10.4 GetProcAddress casts a LPCWSTR param to AnsiString, which causes a memory allocation and the attempt to use shared memory manager fails

pleriche commented 3 years ago

Hi Maxim,

Thank you very much for the bug report and patch!

Best regards, Pierre