(ITS#4901) malloc/free mismatches in ldapadd