riscv-openocd/src
Antonio Borneo 9659a9b5e2 target/esirisc: free memory at OpenOCD exit
The target esirisc does not free the allocated memory resources,
causing memory leaks at OpenOCD exit.

Add esirisc_free_reg_cache() and esirisc_deinit_target() and use
them to free all the allocated resources.

Change-Id: I17b8ebff54906fa25a37f2d96c01d010a98cffbd
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8094
Tested-by: jenkins
Reviewed-by: Steven Stallion <sstallion@gmail.com>
2024-01-28 14:19:46 +00:00
..
flash flash/nor/kinetis: add support for NXP S32K series 2024-01-06 13:54:09 +00:00
helper helper/command: pass command arguments also as Jim_Obj 2024-01-13 14:44:32 +00:00
jtag jtag/vdebug: add support for DAP6 2024-01-21 21:31:37 +00:00
pld jtag: Rename 'hasidcode' to 'has_idcode' 2023-12-16 07:51:56 +00:00
rtos OpenOCD memory leak in `hwthread_update_threads()` 2023-10-27 11:41:30 +00:00
rtt rtt/tcl: Fix line indentation 2023-11-18 11:38:27 +00:00
server ipdbg: improve ipdbg-host speed 2024-01-13 14:37:09 +00:00
svf svf: make command 'svf' syntax consistent 2023-03-25 18:09:06 +00:00
target target/esirisc: free memory at OpenOCD exit 2024-01-28 14:19:46 +00:00
transport transport: rewrite command 'transport select' as COMMAND_HANDLER 2023-03-25 18:09:47 +00:00
xsvf openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
Makefile.am openocd: build: add SPDX tag 2022-07-23 13:06:38 +00:00
hello.c hello: include hello.h 2023-05-18 10:13:41 +00:00
hello.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
main.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
openocd.c openocd: rewrite command 'version' as COMMAND_HANDLER 2023-03-25 18:10:54 +00:00
openocd.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00