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:54:22 +0000 (10:54 +0200)
commit6bcfa82ff15531c64e0db27dcc58e5847c513aa6
tree33079707b997edf7dd8b7fde9c1c4d9833567591
parent69e93e2b88c880f770b416b6f5645b8d4c8bf5d8
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