elrond | 9 Mar 2010 22:35

cvs commit: tng/source/lib util_sid.c tng/source/rpcclient cmd_lsarpc.c

elrond      2010/03/09 22:35:51 CET

Modified files:
   source/lib             util_sid.c 
   source/rpcclient       cmd_lsarpc.c 
Log:
valgrind: memleak in enumprivs, nicer sid_equal

rpcclient's enumprivs had a memleak. Fixed it.

sid_equal sometimes reads unset mem. It's not a bug,
because the final "fail" would have happened later anyway.
Just reordered things a little to calm down valgrind.

Revision  Changes                              Path
1.15      +7 -7;  commitid: t8c5LCXfWyI1ojqu;  tng/source/lib/util_sid.c
1.22      +3 -0;  commitid: t8c5LCXfWyI1ojqu;  tng/source/rpcclient/cmd_lsarpc.c


Gmane