summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-04 17:22:01 +0200
committerMichael Adam <obnox@samba.org>2011-07-04 20:02:10 +0200
commit86f8eb98fe76b4b65f903e1792cdb2eb9b195ee5 (patch)
treebc89d07d1695bf72e8168be2663fd80a9d0e7c86 /source3/registry
parent17b091b7c7f57a041c5e90c653f1ee46572d4668 (diff)
downloadsamba-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.c2
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;