diff options
author | turret <turret@duck.com> | 2023-12-18 14:10:48 -0600 |
---|---|---|
committer | turret <turret@duck.com> | 2023-12-18 14:10:48 -0600 |
commit | c2dc21b3e454f7e27d9456fddb4d26e0bfed39fa (patch) | |
tree | fa34e52c998ce0f026a08a7b7684565a98efc2f5 /init/log.c | |
parent | 42a5bb2806ff22a29b7d8d2d85c63d69cee24bba (diff) | |
download | discord-bot-skeleton-c2dc21b3e454f7e27d9456fddb4d26e0bfed39fa.tar.gz discord-bot-skeleton-c2dc21b3e454f7e27d9456fddb4d26e0bfed39fa.tar.bz2 discord-bot-skeleton-c2dc21b3e454f7e27d9456fddb4d26e0bfed39fa.zip |
panic: fix memory leak
Diffstat (limited to 'init/log.c')
-rw-r--r-- | init/log.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |