diff options
author | Simo Sorce <idra@samba.org> | 2001-09-17 10:26:23 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2001-09-17 10:26:23 +0000 |
commit | 87945989c0383bd012be7ab8bc5920b6d03fa105 (patch) | |
tree | c650e6f47153cb7949a090fd73c1400358a943ed /source3/rpc_server/srv_lsa_nt.c | |
parent | e7db47bffba15bd087c90b3831f05d736b8b20e5 (diff) | |
download | samba-87945989c0383bd012be7ab8bc5920b6d03fa105.tar.gz samba-87945989c0383bd012be7ab8bc5920b6d03fa105.tar.bz2 samba-87945989c0383bd012be7ab8bc5920b6d03fa105.zip |
move to SAFE_FREE()
(This used to be commit 5ceecc7bef71b455ba7c4efd9928e2433dccc961)
Diffstat (limited to 'source3/rpc_server/srv_lsa_nt.c')
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index b84293b2f4..98038c2ac7 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -45,7 +45,7 @@ static void free_lsa_info(void *ptr) { struct lsa_info *lsa = (struct lsa_info *)ptr; - safe_free(lsa); + SAFE_FREE(lsa); } /*************************************************************************** @@ -620,7 +620,7 @@ NTSTATUS _lsa_enum_accounts(pipes_struct *p, LSA_Q_ENUM_ACCOUNTS *q_u, LSA_R_ENU sids->sid = (DOM_SID2 *)talloc_zero(p->mem_ctx, (num_entries-q_u->enum_context)*sizeof(DOM_SID2)); if (sids->ptr_sid==NULL || sids->sid==NULL) { - safe_free(map); + SAFE_FREE(map); return NT_STATUS_NO_MEMORY; } @@ -630,7 +630,7 @@ NTSTATUS _lsa_enum_accounts(pipes_struct *p, LSA_Q_ENUM_ACCOUNTS *q_u, LSA_R_ENU j++; } - safe_free(map); + SAFE_FREE(map); init_lsa_r_enum_accounts(r_u, j); |