[asterisk-dev] [Code Review] automagically set a pointer to null after it is freed with ast_free
Simon Perreault
simon.perreault at viagenie.ca
Fri Sep 16 08:43:03 CDT 2011
Benny Amorsen wrote, on 09/16/2011 09:37 AM:
> Combine the advantages: Set the pointer to something which is not NULL
> but guaranteed to crash. 1 might work?
This would interfere badly with the good tools we already have (Valgrind,
debugging malloc/free libs, etc.)
Simon
--
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server --> http://numb.viagenie.ca
More information about the asterisk-dev
mailing list