diff options
author | Gerald Carter <jerry@samba.org> | 2006-02-20 17:59:58 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2006-02-20 17:59:58 +0000 |
commit | bb61b5bb0c33bddd394712e9db38b001ec70f5e9 (patch) | |
tree | 5a367e205b07d14766db02c41211346d5b6f3133 /source/web | |
parent | 299c60272fed68301630024fa68879f868acc96c (diff) | |
download | samba-bb61b5bb0c33bddd394712e9db38b001ec70f5e9.tar.gz samba-bb61b5bb0c33bddd394712e9db38b001ec70f5e9.tar.xz samba-bb61b5bb0c33bddd394712e9db38b001ec70f5e9.zip |
r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
macro which sets the freed pointer to NULL.
Diffstat (limited to 'source/web')
-rw-r--r-- | source/web/cgi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/web/cgi.c b/source/web/cgi.c index 700fb7fa080..d1cd38eb512 100644 --- a/source/web/cgi.c +++ b/source/web/cgi.c @@ -306,7 +306,7 @@ static void cgi_web_auth(void) head, user, (int)geteuid(), (int)getuid(), tail); exit(0); } - talloc_free(pwd); + TALLOC_FREE(pwd); } @@ -367,7 +367,7 @@ static BOOL cgi_handle_authorization(char *line) /* Save the users name */ C_user = SMB_STRDUP(user); - talloc_free(pass); + TALLOC_FREE(pass); return True; } } @@ -377,7 +377,7 @@ err: "WWW-Authenticate: Basic realm=\"SWAT\"\r\n", "username or password incorrect"); - talloc_free(pass); + TALLOC_FREE(pass); return False; } |