diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/db/sysdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index a9e6975c..1051e5a4 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -1920,12 +1920,12 @@ static int sysdb_domain_init_internal(TALLOC_CTX *mem_ctx, } done: + talloc_free(tmp_ctx); if (ret == EOK) { *_ctx = ctx; } else { talloc_free(ctx); } - talloc_free(tmp_ctx); return ret; } |