diff options
author | Jeremy Allison <jra@samba.org> | 2004-12-20 21:14:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:42 -0500 |
commit | b46913fb95d59f3ec8e7e71da758cd16cda05f2c (patch) | |
tree | d76c481d3fc054023e3ea37ae4858016bce5636c /source3/lib/afs_settoken.c | |
parent | 84e0aafc78f9d91cde3a6b1c4a57d8ed3b6fd58c (diff) | |
download | samba-b46913fb95d59f3ec8e7e71da758cd16cda05f2c.tar.gz samba-b46913fb95d59f3ec8e7e71da758cd16cda05f2c.tar.bz2 samba-b46913fb95d59f3ec8e7e71da758cd16cda05f2c.zip |
r4291: More *alloc fixes inspired by Albert Chin (china@thewrittenword.com).
Jeremy
(This used to be commit efc1b688cf9b1a17f1a6bf46d481280ed8bd0c46)
Diffstat (limited to 'source3/lib/afs_settoken.c')
-rw-r--r-- | source3/lib/afs_settoken.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/afs_settoken.c b/source3/lib/afs_settoken.c index 5c646c72e4..2e74328d5d 100644 --- a/source3/lib/afs_settoken.c +++ b/source3/lib/afs_settoken.c @@ -53,7 +53,7 @@ static BOOL afs_decode_token(const char *string, char **cell, DATA_BLOB blob; struct ClearToken result_ct; - char *s = strdup(string); + char *s = SMB_STRDUP(string); char *t; @@ -62,7 +62,7 @@ static BOOL afs_decode_token(const char *string, char **cell, return False; } - *cell = strdup(t); + *cell = SMB_STRDUP(t); if ((t = strtok(NULL, "\n")) == NULL) { DEBUG(10, ("strtok failed\n")); |