[erlang-questions] C linkedin driver memory management

Jean Parpaillon jean.parpaillon@REDACTED
Fri Feb 21 12:03:09 CET 2014


Hi all,
I'm writing a C driver using the generic linked-in driver :
https://github.com/squidfunk/generic-linked-in-driver/

This driver is interacting with GObject library, where objects are
allocated and freed with custom functions (for instance g_error_free for
GError objects).

I am wondering what is the difference of using the following functions:
- GObject free functions like g_error_free ?
- erl_free ?
- driver_free ?
- glibc free ?


Thanks a lot,
-- 
Jean Parpaillon
Open Source Consultant
Phone: +33 6 30 10 92 86
im: jean.parpaillon@REDACTED
skype: jean.parpaillon
linkedin: http://www.linkedin.com/in/jeanparpaillon/en




More information about the erlang-questions mailing list