git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17b091b
)
s3:registry: replace use of deprecated talloc_destroy by talloc_free.
author
Michael Adam
<obnox@samba.org>
Mon, 4 Jul 2011 15:22:01 +0000
(17:22 +0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 4 Jul 2011 18:02:10 +0000
(20:02 +0200)
source3/registry/reg_backend_db.c
patch
|
blob
|
history
diff --git
a/source3/registry/reg_backend_db.c
b/source3/registry/reg_backend_db.c
index e660d2f3b8920da86a33399c2d2cb78ed4dd9103..387089f621b63ee75e401a7aaad2bc38d628ca9f 100644
(file)
--- 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;