Appease -fsanitize.

This commit is contained in:
Cory McWilliams 2024-06-26 20:20:34 -04:00
parent 256614dbaf
commit 5452f3f623

View File

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