Realloc in asn1.c

Andrew Tridgell tridge at samba.org
Sun Oct 14 02:22:02 GMT 2001


> I just noticed this while browsing the code.  Memory leaks seem to be a hot
> topic at the moment.  Apologies if I am wrong.

I'll fix this for the sake of completeness, but please remember that
it is not allocation failures that cause memory leaks. Allocation
failures are *extremely* rare on unix systems. So rare that making an
allocation failure cause a exit(1) would not be completely
unreasonable.





More information about the samba-technical mailing list