[Samba] Possible memory leaks on lookup_sids()?
Li, Ying (ESG)
ying.li2 at hp.com
Mon Oct 22 21:26:50 GMT 2007
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
More information about the samba
mailing list