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 | fb5362c069b5b6548478b2217a0519c56d856705 (patch) | |
tree | 11c9ed652475e840dd24e8fc46c7942a322acf4b /source3/smbd/service.c | |
parent | 2cf38b62c5d0169385dd9ddc76d9619c14cbbf13 (diff) | |
download | samba-fb5362c069b5b6548478b2217a0519c56d856705.tar.gz samba-fb5362c069b5b6548478b2217a0519c56d856705.tar.bz2 samba-fb5362c069b5b6548478b2217a0519c56d856705.zip |
r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
macro which sets the freed pointer to NULL.
(This used to be commit b65be8874a2efe5a4b167448960a4fcf6bd995e2)
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r-- | source3/smbd/service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 0fce677ea9..5c4974329c 100644 --- a/source3/smbd/service.c +++ b/source3/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) { |