diff options
Diffstat (limited to 'source4/lib/registry')
-rw-r--r-- | source4/lib/registry/regf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c index b5b676f9d8..5bc2335236 100644 --- a/source4/lib/registry/regf.c +++ b/source4/lib/registry/regf.c @@ -2042,7 +2042,7 @@ WERROR reg_create_regf_file(TALLOC_CTX *parent_ctx, } /* We can drop our own reference now that *key will have created one */ - talloc_free(regf); + talloc_unlink(NULL, regf); return WERR_OK; } |