in reply to XS malloc and free

is not there any function available in the library you are using just to release memory?

I am not a Windows expert, but if I remind correctly, there memory has to be released from the same library where it was allocated.

Replies are listed 'Best First'.
Re^2: XS malloc and free
by Brutha (Friar) on Feb 07, 2006 at 15:35 UTC
    The api documentation states clearly:
    The user is responsible for calling free() on the value.
    and example C-programs call it and it works :-(

    And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
    (Terry Pratchett, Small Gods)