PR63305: fix graceful restart crashes in LDAP
The cache destruction was not protected by the lock used by other
cache callers.
Pull the static cleanup function into util_ldap.c so it's convenient to
use the existing locking.
Submitted By: Martin FĂșsek <mfusek newps.cz>
Commited By: covener
|