aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src/module.rs
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2025-03-19 15:11:54 +0100
committerGerd Hoffmann <kraxel@redhat.com>2025-03-21 12:00:38 +0100
commitae24cf139ba681f8ce3dc809f3f1119b16c73043 (patch)
tree7d682ab8e1eb34dae4b6272469c0305137a721d8 /rust/qemu-api/src/module.rs
parent560429fd746adf04b57237c3c4a38ecfd906c592 (diff)
downloadqemu-ae24cf139ba681f8ce3dc809f3f1119b16c73043.zip
qemu-ae24cf139ba681f8ce3dc809f3f1119b16c73043.tar.gz
qemu-ae24cf139ba681f8ce3dc809f3f1119b16c73043.tar.bz2
hw/uefi: fix error handling in uefi_vars_json_save
Catch lseek errors. Return on errors. Use autoptr for the GString to simplify cleanup. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-ID: <20250319141159.1461621-3-kraxel@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/module.rs')
0 files changed, 0 insertions, 0 deletions