summaryrefslogtreecommitdiffstats
path: root/source/web
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-20 17:59:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:14 -0500
commitb65be8874a2efe5a4b167448960a4fcf6bd995e2 (patch)
tree5a367e205b07d14766db02c41211346d5b6f3133 /source/web
parent69fb189a6b9947069afebb15d6ee6f2f20d15171 (diff)
downloadsamba-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/web')
-rw-r--r--source/web/cgi.c6
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;
}