Double free in ldap_set_option