diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/registry/ldb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c index 2eb4e9e3ce..e4037b1d90 100644 --- a/source4/lib/registry/ldb.c +++ b/source4/lib/registry/ldb.c @@ -545,12 +545,12 @@ static WERROR ldb_del_value (struct hive_key *key, const char *child) DEBUG(1, ("ldb_del_value: %s\n", ldb_errstring(kd->ldb))); return WERR_FOOBAR; } - - /* reset cache */ - talloc_free(kd->values); - kd->values = NULL; } + /* reset cache */ + talloc_free(kd->values); + kd->values = NULL; + return WERR_OK; } |