summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index 1954fb5041..65118b9f4c 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;
}