]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Use res_ndestroy on systems that have it. Otherwise, use res_nclose.
authorJason Parker <jparker@digium.com>
Tue, 10 Jul 2007 18:37:23 +0000 (18:37 +0000)
committerJason Parker <jparker@digium.com>
Tue, 10 Jul 2007 18:37:23 +0000 (18:37 +0000)
commit71fa9ce0c4e5b9d984b1598c2d2bf57f0c6604dc
treeab50af084a4825e5341fbc21fb146a7d7ea6efad
parentc908fb91d17c19d897346b05be475ebecaf06847
Use res_ndestroy on systems that have it.  Otherwise, use res_nclose.
This prevents a memleak on NetBSD - and possibly others.

Issue 10133, patch by me, reported and tested by scw

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@74373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
dns.c