mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 19:54:21 +01:00
ssl_async_resume: free the operation context on error
This commit is contained in:
parent
f5a9996088
commit
2636fade52
@ -1077,6 +1077,7 @@ static int ssl_async_resume( mbedtls_ssl_context *ssl,
|
|||||||
{
|
{
|
||||||
mbedtls_printf( "Async resume callback: %s done but injected error\n",
|
mbedtls_printf( "Async resume callback: %s done but injected error\n",
|
||||||
op_name );
|
op_name );
|
||||||
|
mbedtls_free( ctx );
|
||||||
return( MBEDTLS_ERR_PK_FEATURE_UNAVAILABLE );
|
return( MBEDTLS_ERR_PK_FEATURE_UNAVAILABLE );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user