openocd/src
Oleksij Rempel f09aa77c0c drivers: USB Blaster II: close file and release USB device if firmware handling failed
In case of some error, the USB device and firmware file are still
claimed. Make sure refcounting is properly accounted for both cases.

Change-Id: I933114f68e59280e58372c0941a0062fe96ab340
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-on: http://openocd.zylin.com/6115
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2021-03-19 22:01:54 +00:00
..
flash build: remove warnings with gcc 11 2021-03-19 22:00:34 +00:00
helper ioutil: drop the code, deprecated in v0.10.0 2021-03-19 21:55:23 +00:00
jtag drivers: USB Blaster II: close file and release USB device if firmware handling failed 2021-03-19 22:01:54 +00:00
pld openocd: use proper format with uint32_t 2020-09-05 17:12:44 +01:00
rtos rtos: Remove typedef'd struct 2021-03-10 21:29:52 +00:00
rtt openocd: fix doxygen parameters of functions 2021-01-13 11:33:53 +00:00
server telnet: support end and home keys 2021-03-19 21:58:59 +00:00
svf openocd: fix command's usage string 2020-09-05 17:13:10 +01:00
target target/arc: refactor ARC register numbers defines 2021-03-19 22:01:00 +00:00
transport jtag: remove minidriver code and minidriver-dummy 2021-03-19 21:56:06 +00:00
xsvf openocd: avoid checking for non NULL pointer to free it 2020-09-05 17:11:50 +01:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
Makefile.am Add initial RTT support 2020-12-02 23:15:52 +00:00
openocd.c ioutil: drop the code, deprecated in v0.10.0 2021-03-19 21:55:23 +00:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00