diff options
Diffstat (limited to 'source4/rpc_server/samr')
-rw-r--r-- | source4/rpc_server/samr/samdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/samr/samdb.c b/source4/rpc_server/samr/samdb.c index ac78dc60c7..f1302c1259 100644 --- a/source4/rpc_server/samr/samdb.c +++ b/source4/rpc_server/samr/samdb.c @@ -77,7 +77,7 @@ void *samdb_connect(TALLOC_CTX *mem_ctx) ldb_set_debug(static_sam_db, samdb_debug, NULL); - ctx = talloc_p(NULL, struct samdb_context); + ctx = talloc_p(mem_ctx, struct samdb_context); if (!ctx) { errno = ENOMEM; return NULL; |