diff options
author | Medicine Yeh <medicinehy@gmail.com> | 2020-12-17 15:40:42 +0800 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-12-17 21:38:18 +0000 |
commit | b76d281010886b4ddb2a5a6d36c3812a638a8abd (patch) | |
tree | c46bb8766e461d044cb43fee9c2d8f7a17f7e573 /util | |
parent | 855d6b6f11e220b94c8d10059110f37797933a3e (diff) | |
download | flashrom-b76d281010886b4ddb2a5a6d36c3812a638a8abd.tar.gz flashrom-b76d281010886b4ddb2a5a6d36c3812a638a8abd.tar.bz2 flashrom-b76d281010886b4ddb2a5a6d36c3812a638a8abd.zip |
dediprog: Fix segmentation fault on no device found
libusb_exit() call is done by dediprog_open() under the
ret == 1 condition. Removing this line has no impact on
any flow and side effect of the program.
Change-Id: I38b3f3ee3f9d46845df1404791f4a4782320aa7c
Signed-off-by: Medicine Yeh <medicinehy@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/48688
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions