git.samba.org
/
jpeach
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ff849f
)
r14152: Fix coverity #117: free storage alloc'ed by sstring_sub
author
Jim McDonough
<jmcd@samba.org>
Fri, 10 Mar 2006 14:14:23 +0000
(14:14 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:15:14 +0000
(11:15 -0500)
source/utils/net_rpc_samsync.c
patch
|
blob
|
history
diff --git
a/source/utils/net_rpc_samsync.c
b/source/utils/net_rpc_samsync.c
index 2c2ffbe6f036da1fba90d53bec8f24527ad366b3..b056d170d6ff467f3d0743b7f1353341877093e0 100644
(file)
--- a/
source/utils/net_rpc_samsync.c
+++ b/
source/utils/net_rpc_samsync.c
@@
-1384,6
+1384,7
@@
static NTSTATUS map_populate_groups(GROUPMAP *groupmap, ACCOUNTMAP *accountmap,
group_attr, suffix);
accountmap[7].rid = 551;
pstr_sprintf(accountmap[7].cn, "%s", "Replicators");
+ SAFE_FREE(group_attr);
return NT_STATUS_OK;
}