util/libreboot-utils: finish implementing hell

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-03-27 03:09:41 +00:00
parent 5d6344292a
commit db6e817ded
7 changed files with 79 additions and 32 deletions
+2 -2
View File
@@ -184,7 +184,7 @@ err:
else
saved_errno = errno = EIO;
free_if_null(&dest);
free_and_set_null(&dest);
close_no_err(&dirfd);
close_no_err(fd);
@@ -619,7 +619,7 @@ err:
close_no_err(fd);
success:
free_if_null(&fname_copy);
free_and_set_null(&fname_copy);
return (*fd >= 0) ? *fd : -1;
}