diff --git a/main/tcptls.c b/main/tcptls.c index b2756d1f8c..dc25cb4047 100644 --- a/main/tcptls.c +++ b/main/tcptls.c @@ -126,7 +126,7 @@ static void write_openssl_error_to_log(void) ast_log(LOG_ERROR, "%.*s\n", (int) length, buffer); } - ast_free(buffer); + ast_std_free(buffer); } #endif