Files
sw_openocd/src/helper
Antonio Borneo 492ac453ab log: fix memory leak when log to file is enabled
When log to file is enabled, the file is not closed by OpenOCD at
exit. This is reported by Valgrind as a memory leak that is still
reachable, as the internal buffers of 'FILE *log_output' are freed
by the automatic fclose() at exit.

Close the log file before exit.

Change-Id: Id472c0d04462035254a9b49ecb0a4037263c6f6f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6789
Tested-by: jenkins
2022-01-22 10:15:48 +00:00
..
2021-08-14 13:29:43 +01:00
2020-09-05 17:10:54 +01:00
2021-05-01 14:35:09 +01:00
2021-10-25 16:10:28 +00:00
2021-05-01 14:35:09 +01:00
2021-05-01 14:35:09 +01:00
2021-05-22 10:06:51 +01:00
2021-05-01 13:36:58 +01:00
2020-09-05 17:10:54 +01:00
2021-07-02 17:10:03 +01:00
2016-05-24 22:30:55 +01:00