Seems that there are some memory leaks on the variables names[j], names and domain_name in passdb/lookup_sid.c:lookup_sids(). After transferring names[j] to name_infos in that nested for loop, probably need to free names[j] content. Before the end of the outside for loop, the variables domain_name and names need to be released too. Could somebody look at the line 828-881 in lookup_sids() for 3.2.0pre1? Thanks. -Ying