2 Commits

Author SHA1 Message Date
92b31de4a9 Latest libbacktrace. 2024-06-26 20:20:41 -04:00
5452f3f623 Appease -fsanitize. 2024-06-26 20:20:34 -04:00
2 changed files with 5 additions and 2 deletions

View File

@ -438,7 +438,10 @@ const char* tf_util_backtrace_string()
void tf_util_print_backtrace()
{
const char* bt = tf_util_backtrace_string();
tf_printf("%s\n", bt);
if (bt)
{
tf_printf("%s\n", bt);
}
tf_free((void*)bt);
}