(ITS#8782) Memory leak in ldap_cancel