Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails
commitdf8d089bc63c2a52cbdf3504cded8df620a59902
authorVolker Lendecke <vl@samba.org>
Thu, 5 Jun 2008 08:25:02 +0000 (5 10:25 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 5 Jun 2008 08:56:18 +0000 (5 10:56 +0200)
treec536345234c02262afc578e7318e3e9a84357b30
parent8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84
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
source/libads/ldap.c