summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_mysql.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-23 23:54:10 +0000
committerJeremy Allison <jra@samba.org>2002-12-23 23:54:10 +0000
commit98ac4503aca8f5a5a4268d89791e9a4491ce8645 (patch)
treeb2924c73e39c05a8c3bf234a677f43ef821dd4cd /source3/passdb/pdb_mysql.c
parentfa997c54eb266b6203945827b332600cd58f1379 (diff)
downloadsamba-98ac4503aca8f5a5a4268d89791e9a4491ce8645.tar.gz
samba-98ac4503aca8f5a5a4268d89791e9a4491ce8645.tar.bz2
samba-98ac4503aca8f5a5a4268d89791e9a4491ce8645.zip
Finish adding strings to all talloc_init() calls.
Jeremy. (This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df)
Diffstat (limited to 'source3/passdb/pdb_mysql.c')
-rw-r--r--source3/passdb/pdb_mysql.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/pdb_mysql.c b/source3/passdb/pdb_mysql.c
index 319bad7da2..d0f30c6394 100644
--- a/source3/passdb/pdb_mysql.c
+++ b/source3/passdb/pdb_mysql.c
@@ -1,4 +1,3 @@
-
/*
* MySQL password backend for samba
* Copyright (C) Jelmer Vernooij 2002
@@ -678,7 +677,7 @@ static NTSTATUS mysqlsam_replace_sam_account(struct pdb_methods *methods,
/* I know this is somewhat overkill but only the talloc
* functions have asprint_append and the 'normal' asprintf
* is a GNU extension */
- query.mem_ctx = talloc_init();
+ query.mem_ctx = talloc_init("mysqlsam_replace_sam_account");
query.part2 = talloc_asprintf(query.mem_ctx, "%s", "");
if (query.update) {
query.part1 =