projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target/arm946e: change prototype of arm946e_verify_pointer()
[fw/openocd]
/
src
/
openocd.c
diff --git
a/src/openocd.c
b/src/openocd.c
index 902528d08b889d314a89db3f66c603b22c591547..f084dd4522d6294e027578982f803d9c9b86927b 100644
(file)
--- a/
src/openocd.c
+++ b/
src/openocd.c
@@
-359,6
+359,10
@@
int openocd_main(int argc, char *argv[])
unregister_all_commands(cmd_ctx, NULL);
+ /* free all DAP and CTI objects */
+ dap_cleanup_all();
+ arm_cti_cleanup_all();
+
adapter_quit();
/* Shutdown commandline interface */