summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-04-29 19:20:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:19:45 -0500
commit71aa8a1ec2fe17761335381db5b38bd410147cac (patch)
tree3a59130f8e3b608144a0862902effcc094936920 /source3/rpc_server
parent4ab6a8ebb70bbd5d69ad1dc6196c936f01f5aaf7 (diff)
downloadsamba-71aa8a1ec2fe17761335381db5b38bd410147cac.tar.gz
samba-71aa8a1ec2fe17761335381db5b38bd410147cac.tar.bz2
samba-71aa8a1ec2fe17761335381db5b38bd410147cac.zip
r22573: Fix old bug mixing free() and talloc_free()
when the add_sid_to_array_XX code was moved from malloc to talloc. Found running valgrind and rpcclient. Needs merging for 3.0.25 final. Jeremy. (This used to be commit 8af56dbd00045049ea3c5022822bbaeeecbd9661)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 76ec38af6f..2343e3eedb 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1502,7 +1502,7 @@ NTSTATUS _lsa_enum_accounts(pipes_struct *p, LSA_Q_ENUM_ACCOUNTS *q_u, LSA_R_ENU
(*sids).ptr_sid[j] = 1;
}
- SAFE_FREE(sid_list);
+ talloc_free(sid_list);
init_lsa_r_enum_accounts(r_u, num_entries);