Adam Megacz wrote:
> Jeffrey Altman <[EMAIL PROTECTED]> writes:
>> Will calling res_init() multiple times leak resources on MacOS/Darwin?
> 
> I don't think so.  I scanned the code for res_init() and nothing
> appears to allocate any sort of resources:
> 
>   http://darwinsource.opendarwin.org/10.4.2/Libinfo-221/dns.subproj/res_init.c
> 
> A test of a tight loop ("while(1){res_init();}") shows no growth in
> memory consumption and no errors/crashes/etc.

Looks good.  Send the patch to [EMAIL PROTECTED]

Jeffrey Altman


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to