in reply to Re: FFI::Platypus: Replace malloc with GC_MALLOC?
in thread FFI::Platypus: Replace malloc with GC_MALLOC?
«…"why"…»
The background is curiosity and boredom - and I'm just trying to improve my poor C knowledge.
It seems quite unusual to me that a function has to be called twice to behave correctly - that is, to free the memory in this case.
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: FFI::Platypus: Replace malloc with GC_MALLOC?
by eyepopslikeamosquito (Archbishop) on Dec 12, 2022 at 08:01 UTC | |
Re^3: FFI::Platypus: Replace malloc with GC_MALLOC?
by ikegami (Patriarch) on Dec 13, 2022 at 13:57 UTC |