openocd/src
Antonio Borneo f5cc8360fd target/arm720t: fix memory leak of register cache
There is no method to free the register cache, allocated in
arm720t_init_target().
Issue identified by tracking all calls to arm7tdmi_init_target().

Implement the method arm720t_deinit_target() by calling directly
arm7tdmi_deinit_target().

NOT TESTED on a real arm720t target.
Tested on a arm926ejs (SPEAr320) by hacking the target type and
pretending it is a xscale:
	sed -i s/arm926ejs/arm720t/ tcl/target/spear3xx.cfg

Change-Id: I53c1f46c1a355a710e8df01468b19220671569dc
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5697
Tested-by: jenkins
2020-07-26 20:12:56 +01:00
..
flash src/flash/nor/stm32f2x: fix format strings 2020-07-26 20:09:10 +01:00
helper log: fix kept_alive() and report expired timeout 2020-06-06 18:04:14 +01:00
jtag libjaylink: Update to 0.2.0 release 2020-07-26 20:11:11 +01:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos rtos: add support for RIOT 2020-07-26 20:11:52 +01:00
server gdb_server: suggest user to prefer GDB extended mode 2020-07-08 22:08:40 +01:00
svf coding style: fix space separation 2020-07-08 22:08:08 +01:00
target target/arm720t: fix memory leak of register cache 2020-07-26 20:12:56 +01:00
transport swim: add new transport 2020-05-24 21:32:05 +01:00
xsvf xsvf: fix memory leak 2020-01-16 09:44:33 +00: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 Convert to non-recursive make 2016-12-08 16:23:10 +00:00
openocd.c openocd: fix issue in WIN32 with TCP adapters 2020-06-14 14:23:48 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00