git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
331d7fd
)
registry: explicitly use talloc context instead of talloc_tos()
author
Michael Adam
<obnox@samba.org>
Mon, 17 Mar 2008 00:09:31 +0000
(
01:09
+0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 17 Mar 2008 07:22:33 +0000
(08:22 +0100)
in regdb_fetch_keys().
Michael
source/registry/reg_backend_db.c
patch
|
blob
|
history
diff --git
a/source/registry/reg_backend_db.c
b/source/registry/reg_backend_db.c
index 6f8f95e7b580316ca51135120e0d01c9051a5671..bac75fae14f1dfc91436771e9692ffbaa80fc7a3 100644
(file)
--- a/
source/registry/reg_backend_db.c
+++ b/
source/registry/reg_backend_db.c
@@
-652,13
+652,13
@@
int regdb_fetch_keys(const char *key, REGSUBKEY_CTR *ctr)
DEBUG(11,("regdb_fetch_keys: Enter key => [%s]\n", key ? key : "NULL"));
- path = talloc_strdup(
talloc_tos()
, key);
+ path = talloc_strdup(
frame
, key);
if (!path) {
goto fail;
}
/* convert to key format */
- path = talloc_string_sub(
talloc_tos()
, path, "\\", "/");
+ path = talloc_string_sub(
frame
, path, "\\", "/");
if (!path) {
goto fail;
}