1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-14 01:57:27 +03:00

boot/measure: fix oom check

(cherry picked from commit fc0cc6db1ecbaa16513125d3fd1a7d11e391a8ee)
This commit is contained in:
Li kunyu 2022-11-18 16:10:24 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent f68be4fd79
commit 5c34bc9bc3

View File

@ -897,7 +897,7 @@ static int verb_sign(int argc, char *argv[], void *userdata) {
}
_cleanup_free_ void *sig = malloc(ss);
if (!ss) {
if (!sig) {
r = log_oom();
goto finish;
}