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)
committerVolker Lendecke <vl@samba.org>
Thu, 5 Jun 2008 08:56:18 +0000 (10:56 +0200)
commitd261e16cfd4afc19db0c26cfb2b6389c9c174310
treee286190cd3bf195eeea58dc2ae6f37c2b690e4cb
parent19e5ee0e094c563521e6515294f448f7136a928f
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
(This used to be commit df8d089bc63c2a52cbdf3504cded8df620a59902)
source3/libads/ldap.c