Minor typo in rpc_parse/parse_sec.c which could result in memory leak

Richard Bollinger rabollinger at home.com
Wed Jan 31 13:54:17 GMT 2001


Here's a minor typo fix in rpc_parse/parse_sec.c which could result in a memory leak:

--- ../source/rpc_parse/parse_sec.c Tue Nov  7 13:22:22 2000
+++ ./rpc_parse/parse_sec.c Wed Nov 29 11:38:17 2000
@@ -554,9 +554,9 @@
  psd = *ppsd;
 
  free_sec_acl(&psd->dacl);
- free_sec_acl(&psd->dacl);
+ free_sec_acl(&psd->sacl);
 free(psd->owner_sid);
 free(psd->grp_sid);
  free(psd);
  *ppsd = NULL;
 }


Thanks, Rich Bollinger





More information about the samba-technical mailing list