On 2020-01-08 22:03, ToddAndMargo via perl6-users wrote:
On 2020-01-08 21:05, ToddAndMargo via perl6-users wrote:
Hi All,
Does Raku's NativeCall run WinAPI's "LocalFree( )" after it creates
buffers? Or do I need to do it myself?
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-localfree
Many thanks,
-T
I am doing it anyway. It is not throwing an error.
This may be a bug in NativeCall, resulting in a memory
leak
Follow up:
NativeCall does not close any WinApi call buffers, so
you need to do it yourself.