Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails
authorVolker Lendecke <vl@samba.org>
Thu, 5 Jun 2008 08:25:02 +0000 (10:25 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 5 Jun 2008 08:57:40 +0000 (10:57 +0200)
commit86b55b47e3980d90d9d8cd3ea36b35ef2b10b96c
tree008eecdb0238830dbf2cea01b8375d36bfe6b055
parentebc1c20ecb72d0e613a4d3a559e914f887403521
Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails

This is really not a proper place to fix this, but as get_gc_list() and friends
are about to be replaced anyway, just work around the broken existing API
(cherry picked from commit 6bcfa82ff15531c64e0db27dcc58e5847c513aa6)
source/libads/ldap.c