summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb_ops.c')
-rw-r--r--src/db/sysdb_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index a619118f..514340f3 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -1103,7 +1103,7 @@ int sysdb_add_group(TALLOC_CTX *mem_ctx,
domain, gid, NULL, &msg);
if (ret != ENOENT) {
if (ret == EOK) {
- ret = sysdb_delete_group(sysdb, NULL, gid);
+ ret = sysdb_delete_group(tmpctx, ctx, domain, NULL, gid);
}
if (ret != EOK) {