[erlang-questions] Am I leaking memory inside my linked in driver?
Tue Feb 26 01:10:59 CET 2013
If I keep calling ei_x_encode_atom(ei_x_buff* x, const char *p)) (http://erlang.org/doc/man/ei.html#ei_x_encode_atom)
again and again to create the same atom 'ok' ... am I leaking memory?
Yes, I can create the atom 'ok' since the beginning as a static variable and use its reference.
But want to be sure I'm leaking memory (or not) in the first case.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions