Appease -fsanitize.
This commit is contained in:
parent
256614dbaf
commit
5452f3f623
@ -438,7 +438,10 @@ const char* tf_util_backtrace_string()
|
|||||||
void tf_util_print_backtrace()
|
void tf_util_print_backtrace()
|
||||||
{
|
{
|
||||||
const char* bt = tf_util_backtrace_string();
|
const char* bt = tf_util_backtrace_string();
|
||||||
tf_printf("%s\n", bt);
|
if (bt)
|
||||||
|
{
|
||||||
|
tf_printf("%s\n", bt);
|
||||||
|
}
|
||||||
tf_free((void*)bt);
|
tf_free((void*)bt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user