mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 15:03:44 +02:00
util/libreboot-utils: finish implementing hell
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user