[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Wed Jun 30 17:23:03 MDT 2010
The branch, master has been updated
via 74721bf... s3-registry: fix malloc/talloc mismatch upon free in reg_enumvalue().
from 6961048... s4-smbtorture: in extended setvalue winreg test, reduce max random buffer length to 16 bytes.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 74721bf706371d3fdc5783995a60808763fc7e6d
Author: Günther Deschner <gd at samba.org>
Date: Thu Jul 1 01:22:11 2010 +0200
s3-registry: fix malloc/talloc mismatch upon free in reg_enumvalue().
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/registry/reg_api.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index 1954fb5..65118b9 100644
--- a/source3/registry/reg_api.c
+++ b/source3/registry/reg_api.c
@@ -369,7 +369,7 @@ WERROR reg_enumvalue(TALLOC_CTX *mem_ctx, struct registry_key *key,
if (pname
&& !(*pname = talloc_strdup(
mem_ctx, regval_name(blob)))) {
- SAFE_FREE(val);
+ TALLOC_FREE(val);
return WERR_NOMEM;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list