aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/log.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init/log.c b/init/log.c
index 8ed5d1c..c7d69f6 100644
--- a/init/log.c
+++ b/init/log.c
@@ -159,6 +159,8 @@ void _panic(const char *fileorigin, const int lineorigin, const char *fmt, ...)
console_lock = 0;
free(_fmt);
+ free(backtrace_symbolnames);
+ free(backtrace_addresses);
va_end(ap);
if(mode == PANICMODE_DEBUGONLY)