[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Mon Feb 22 14:17:34 MST 2010
The branch, master has been updated
via 91bf841... s4:registry/regf.c - specify the context when freeing the "regf" variable
from 1e986c1... More spelling fixes across source4/
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 91bf841c2e2997f7b39e3e757d3b88054829ed62
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Mon Feb 22 22:15:03 2010 +0100
s4:registry/regf.c - specify the context when freeing the "regf" variable
Otherwise we get a "talloc_free with references" warning.
-----------------------------------------------------------------------
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 b5b676f..5bc2335 100644
--- a/source4/lib/registry/regf.c
+++ b/source4/lib/registry/regf.c
@@ -2042,7 +2042,7 @@ WERROR reg_create_regf_file(TALLOC_CTX *parent_ctx,
}
/* We can drop our own reference now that *key will have created one */
- talloc_free(regf);
+ talloc_unlink(NULL, regf);
return WERR_OK;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list