diff options
author | Michael Adam <obnox@samba.org> | 2011-07-04 17:22:01 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-04 20:02:10 +0200 |
commit | 86f8eb98fe76b4b65f903e1792cdb2eb9b195ee5 (patch) | |
tree | bc89d07d1695bf72e8168be2663fd80a9d0e7c86 /source3/registry | |
parent | 17b091b7c7f57a041c5e90c653f1ee46572d4668 (diff) | |
download | samba-86f8eb98fe76b4b65f903e1792cdb2eb9b195ee5.tar.gz samba-86f8eb98fe76b4b65f903e1792cdb2eb9b195ee5.tar.bz2 samba-86f8eb98fe76b4b65f903e1792cdb2eb9b195ee5.zip |
s3:registry: replace use of deprecated talloc_destroy by talloc_free.
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/reg_backend_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index e660d2f3b8..387089f621 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -441,7 +441,7 @@ static WERROR regdb_upgrade_v1_to_v2(struct db_context *db) rc = regdb->traverse(db, regdb_normalize_keynames_fn, mem_ctx); - talloc_destroy(mem_ctx); + talloc_free(mem_ctx); if (rc < 0) { return WERR_REG_IO_FAILURE; |