boot/measure: fix oom check

This commit is contained in:
Li kunyu
2022-11-18 21:02:03 +09:00
committed by Yu Watanabe
parent f54f6d88b1
commit fc0cc6db1e
+1 -1
View File
@@ -898,7 +898,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;
}