1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r16831: Use a valid memory context (found by the IBM checker).

Andrew Bartlett
(This used to be commit 9fdbedafad)
This commit is contained in:
Andrew Bartlett 2006-07-06 06:04:06 +00:00 committed by Gerald (Jerry) Carter
parent 12dc0ae78c
commit ebea352760

View File

@ -307,8 +307,8 @@ int samldb_notice_sid(struct ldb_module *module,
}
talloc_free(res);
} else {
ldb_set_errstring(module->ldb, talloc_asprintf(module, "samldb_notice_sid: error searching to see if sid %s is in use: %s\n",
dom_sid_string(dom_res, sid),
ldb_set_errstring(module->ldb, talloc_asprintf(mem_ctx, "samldb_notice_sid: error searching to see if sid %s is in use: %s\n",
dom_sid_string(mem_ctx, sid),
ldb_errstring(module->ldb)));
return ret;
}