projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
log: fix memory leak when log to file is enabled
[fw/openocd]
/
src
/
helper
/
log.h
diff --git
a/src/helper/log.h
b/src/helper/log.h
index 621d467b49e9e4697ae686562f1fceb0cc7ee648..f0378ae7946c64b17aa7152e74e5601086767372 100644
(file)
--- a/
src/helper/log.h
+++ b/
src/helper/log.h
@@
-72,6
+72,7
@@
__attribute__ ((format (PRINTF_ATTRIBUTE_FORMAT, 5, 6)));
* Initialize logging module. Call during program startup.
*/
void log_init(void);
+void log_exit(void);
int set_log_output(struct command_context *cmd_ctx, FILE *output);
int log_register_commands(struct command_context *cmd_ctx);