summaryrefslogtreecommitdiffstats
path: root/source/lib/afs_settoken.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/afs_settoken.c')
-rw-r--r--source/lib/afs_settoken.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/afs_settoken.c b/source/lib/afs_settoken.c
index 5c646c72e48..2e74328d5d6 100644
--- a/source/lib/afs_settoken.c
+++ b/source/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"));