multiple free in ldapsearch