diff options
author | Gerald Carter <jerry@samba.org> | 2006-02-20 17:59:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:10:14 -0500 |
commit | b65be8874a2efe5a4b167448960a4fcf6bd995e2 (patch) | |
tree | 5a367e205b07d14766db02c41211346d5b6f3133 /source/smbd/service.c | |
parent | 69fb189a6b9947069afebb15d6ee6f2f20d15171 (diff) | |
download | samba-b65be8874a2efe5a4b167448960a4fcf6bd995e2.tar.gz samba-b65be8874a2efe5a4b167448960a4fcf6bd995e2.tar.xz samba-b65be8874a2efe5a4b167448960a4fcf6bd995e2.zip |
r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
macro which sets the freed pointer to NULL.
Diffstat (limited to 'source/smbd/service.c')
-rw-r--r-- | source/smbd/service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/smbd/service.c b/source/smbd/service.c index 0fce677ea99..5c4974329c7 100644 --- a/source/smbd/service.c +++ b/source/smbd/service.c @@ -399,7 +399,7 @@ static NTSTATUS find_forced_user(int snum, BOOL vuser_is_guest, result = NT_STATUS_OK; done: - talloc_free(mem_ctx); + TALLOC_FREE(mem_ctx); return result; } @@ -487,7 +487,7 @@ static NTSTATUS find_forced_group(BOOL force_user, result = NT_STATUS_OK; done: - talloc_free(mem_ctx); + TALLOC_FREE(mem_ctx); return result; } @@ -540,7 +540,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser, conn->uid = pass->pw_uid; conn->gid = pass->pw_gid; string_set(&conn->user,pass->pw_name); - talloc_free(pass); + TALLOC_FREE(pass); DEBUG(3,("Guest only user %s\n",user)); } else if (vuser) { if (vuser->guest) { |