summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/registry/reg_api.c b/source3/registry/reg_api.c
index 155fc96a5f..20ece83075 100644
--- a/source3/registry/reg_api.c
+++ b/source3/registry/reg_api.c
@@ -802,7 +802,8 @@ WERROR reg_deletevalue(struct registry_key *key, const char *name)
return WERR_ACCESS_DENIED;
}
- if (!W_ERROR_IS_OK(err = fill_value_cache(key))) {
+ err = fill_value_cache(key);
+ if (!W_ERROR_IS_OK(err)) {
return err;
}