On 18 July 2011 13:14, Javier Ros <[email protected]> wrote:

> Shouldn't
> haldata = hal_malloc(sizeof(struct haldata));

> have a corresponding free in
>
> rtapi_app_exit

There is no hal_free, hal_mallocc-ed memory is automatically freed
when all hal modules unload.
http://www.linuxcnc.org/docview/html/man/man3/hal_malloc.3hal.html

-- 
atp
"Torque wrenches are for the obedience of fools and the guidance of wise men"

------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to