From 25851a1e59d7c8607b4013dc3d3a092306b48389 Mon Sep 17 00:00:00 2001 From: Paul Cercueil Date: Sat, 9 Apr 2022 21:53:44 +0100 Subject: [PATCH] git subrepo pull --force deps/lightrec subrepo: subdir: "deps/lightrec" merged: "b9f1b040" upstream: origin: "https://github.com/pcercuei/lightrec.git" branch: "master" commit: "b9f1b040" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596" --- deps/lightrec/.gitrepo | 4 ++-- deps/lightrec/recompiler.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deps/lightrec/.gitrepo b/deps/lightrec/.gitrepo index 4b96823a..5adaf6ba 100644 --- a/deps/lightrec/.gitrepo +++ b/deps/lightrec/.gitrepo @@ -6,7 +6,7 @@ [subrepo] remote = https://github.com/pcercuei/lightrec.git branch = master - commit = ce40f8388079945b60fd3f3dbef8ebaddf6f2685 - parent = 1f22b268b62cf9a3fad39b9b642ded0890902f58 + commit = b9f1b040bb1333508caee3795375e13b8cf8f684 + parent = 37d9bf8315be570a350cd44876ae14f9b0eff20b method = merge cmdver = 0.4.3 diff --git a/deps/lightrec/recompiler.c b/deps/lightrec/recompiler.c index a6c8cd15..966635d4 100644 --- a/deps/lightrec/recompiler.c +++ b/deps/lightrec/recompiler.c @@ -154,7 +154,7 @@ struct recompiler *lightrec_recompiler_init(struct lightrec_state *state) for (i = 0; i < nb_recs; i++) { rec->thds[i].cstate = lightrec_create_cstate(state); - if (!rec->state) { + if (!rec->thds[i].cstate) { pr_err("Cannot create recompiler: Out of memory\n"); goto err_free_cstates; } -- 2.39.5