summaryrefslogtreecommitdiffstats
path: root/source/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
commitaa8439a49ec4b9f433745fefa1e769e45398f4df (patch)
treeee3fff29ab5f7467bb79f0765ccbf71a0a89e832 /source/passdb/pdb_mysql.c
parent35d00bacdc4b48c9b9e2ba9d4335c53a13f40f73 (diff)
downloadsamba-aa8439a49ec4b9f433745fefa1e769e45398f4df.tar.gz
samba-aa8439a49ec4b9f433745fefa1e769e45398f4df.tar.xz
samba-aa8439a49ec4b9f433745fefa1e769e45398f4df.zip
Finish adding strings to all talloc_init() calls.
Jeremy.
Diffstat (limited to 'source/passdb/pdb_mysql.c')
-rw-r--r--source/passdb/pdb_mysql.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/passdb/pdb_mysql.c b/source/passdb/pdb_mysql.c
index 319bad7da2e..d0f30c63946 100644
--- a/source/passdb/pdb_mysql.c
+++ b/source/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 =