[Git][openldap/openldap][master] ITS#10031 Adjust *err if we free it