[erlang-questions] enif_free and free in a NIF
Thu Jul 3 21:45:14 CEST 2014
We have a number of nifs that make use of enif_alloc and enif_free (as well as other calls such as erl_mk_tuple, erl_free_compound). The nifs also include a third party library that makes regular calls to malloc and free.
We have had a number of fairly rare core files (e.g. abort in free) from the third party library.
The question is is it safe to mix and match the Erlang memory allocation/deallocation NIF libraries with the standard Linux calls to free and malloc?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions