aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-11-12 12:08:46 +1100
committerFelix Singer <felixsinger@posteo.net>2022-12-06 10:22:23 +0000
commit6352f8b3df524fc0abc03dde4c675661cb3d97a8 (patch)
tree599fa3951e28c65e0d8d179b954b5441005aead4 /bindings
parent4e27cad44dec5443617840bd6995a921cc2689aa (diff)
downloadflashrom-6352f8b3df524fc0abc03dde4c675661cb3d97a8.tar.gz
flashrom-6352f8b3df524fc0abc03dde4c675661cb3d97a8.tar.bz2
flashrom-6352f8b3df524fc0abc03dde4c675661cb3d97a8.zip
flashrom.c: Replace 'exit(1)' leaks with return codes on err paths
Do not just exit in the middle of the process, rather return a value back up to the caller to allow proper resource cleanup's to occur. Change-Id: Ie4186a40071e9a7296d601582ff15ad7df09c70a Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/69474 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'bindings')
0 files changed, 0 insertions, 0 deletions