> I think I would prefer to have these combined into a single function.
> gw_free now maps onto the gw_native_free or gw_check_free with macros.
> We could make the macros as such that they pass the pointer to the
> address space containing the pointer and make the pointer even NULL.
> 
> What do others think?? I guess that in more places the pointer needs
> to be 'NULL'-ed after the free.

I'd say no - this would propagate bad programming practices.

k


Reply via email to