[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-731-g169ff6e
Jelmer Vernooij
jelmer at samba.org
Sat Sep 26 07:42:15 MDT 2009
The branch, master has been updated
via 169ff6efea9b0ea9795effc428de0bd578644a2e (commit)
from 6b595a93c1eb380ef6120dbbcc0c6e6bb7092deb (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 169ff6efea9b0ea9795effc428de0bd578644a2e
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Sat Sep 26 15:41:22 2009 +0200
registry: Fix warning freeing talloc pointer with multiple parents.
-----------------------------------------------------------------------
Summary of changes:
source4/lib/registry/regf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c
index 6d4ea1b..c5a74c7 100644
--- a/source4/lib/registry/regf.c
+++ b/source4/lib/registry/regf.c
@@ -2144,7 +2144,7 @@ WERROR reg_open_regf_file(TALLOC_CTX *parent_ctx, const char *location,
regf->header->data_offset);
/* We can drop our own reference now that *key will have created one */
- talloc_free(regf);
+ talloc_unlink(parent_ctx, regf);
return WERR_OK;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list