diff options
author | Jason Parker <jparker@digium.com> | 2007-07-10 18:41:03 +0000 |
---|---|---|
committer | Jason Parker <jparker@digium.com> | 2007-07-10 18:41:03 +0000 |
commit | 8a5cea16bc9de4b12e04e6f9742db488415275b8 (patch) | |
tree | 0963557bfff27269a5efe726c81cbb8e5b494989 /include | |
parent | e9290d5178a30ac4947ccd28ea8cbd8c74ecb5cb (diff) |
Merged revisions 74374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10133)
................
r74374 | qwell | 2007-07-10 13:39:30 -0500 (Tue, 10 Jul 2007) | 13 lines
Merged revisions 74373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74373 | qwell | 2007-07-10 13:37:23 -0500 (Tue, 10 Jul 2007) | 5 lines
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/trunk@74375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/autoconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/autoconfig.h.in b/include/asterisk/autoconfig.h.in index 42da34d38..f4052cc81 100644 --- a/include/asterisk/autoconfig.h.in +++ b/include/asterisk/autoconfig.h.in @@ -424,6 +424,9 @@ /* Define to 1 if you have the `regcomp' function. */ #undef HAVE_REGCOMP +/* Define to 1 if your system has the ndestroy resolver function. */ +#undef HAVE_RES_NDESTROY + /* Define to 1 if your system has the re-entrant resolver functions. */ #undef HAVE_RES_NINIT |