diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/registry/reg_backend_db.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index bac75fae14..5a824d3397 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -666,7 +666,8 @@ int regdb_fetch_keys(const char *key, REGSUBKEY_CTR *ctr) rec = regdb->fetch_locked(regdb, frame, string_term_tdb_data(path)); if (rec == NULL) { - return 0; + ret = 0; + goto fail; } ctr->seqnum = regdb_get_seqnum(); |