From 98ac4503aca8f5a5a4268d89791e9a4491ce8645 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 23 Dec 2002 23:54:10 +0000 Subject: Finish adding strings to all talloc_init() calls. Jeremy. (This used to be commit aa8439a49ec4b9f433745fefa1e769e45398f4df) --- source3/passdb/pdb_mysql.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/passdb/pdb_mysql.c') 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 = -- cgit