<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Team,<div><br></div><div>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.</div><div><br></div><div>We have had a number of fairly rare core files (e.g. abort in free) from the third party library.</div><div><br></div><div>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?</div><div><br></div><div>Thanks</div><div><br></div><div>Matt</div>                                          </div></body>
</html>