s3: Fix Coverity ID 2611, UNINIT
[metze/samba/wip.git] / source3 / registry / reg_backend_db.c
index ad1071a4da5b6ac32936838eaa34e23f6669b65e..bac075acf0226cb8fed239211d43589f9994dcfb 100644 (file)
@@ -1792,6 +1792,7 @@ static NTSTATUS regdb_store_values_internal(struct db_context *db,
        }
        keystr = normalize_reg_path(ctx, keystr);
        if (!keystr) {
+               status = NT_STATUS_NO_MEMORY;
                goto done;
        }