Skip to content

Memory allocated in caml_*_of_value leaks #1

@goodpaul6

Description

@goodpaul6

Once again, great work here :) Definitely going to be using this for some of my projects.

As it stands, caml_eleven_out_of_ten_majestic_af leaks the Doggo allocated in caml_Doggo_of_value:

https://github.com/ocaml-sys/ocaml-bindgen/blob/main/examples/caml_doggo.c

Will brainstorm some ways to deal with this effectively in the comments below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions