]> git.sur5r.net Git - openocd/commit
helper/configuration: free script_search_dirs and config_file_names
authorTomas Vanek <vanekt@fbl.cz>
Wed, 14 Feb 2018 21:38:13 +0000 (22:38 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Wed, 7 Mar 2018 23:47:31 +0000 (23:47 +0000)
commit35da3e1d948bdd8c86862c36fe83ada2c73c6e34
treeb24dec125e34cddefa08fb8e6265088f9e060fed
parent6c0590cb4d3e7701658279ee76d96e5c077fb256
helper/configuration: free script_search_dirs and config_file_names

Although the leak is negligible, the clean heap on exit will ease
valgrind testing.

Change-Id: If43f02fe594c30ceb1bea3259ea3e098d4b2d239
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4408
Tested-by: jenkins
Reviewed-by: Marc Schink <openocd-dev@marcschink.de>
src/helper/configuration.c
src/helper/configuration.h
src/openocd.c