mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-26 13:18:58 +00:00
Fix ommission in pk_free().
This commit is contained in:
@@ -66,6 +66,8 @@ void pk_free( pk_context *ctx )
|
||||
break;
|
||||
}
|
||||
|
||||
free( ctx-> data );
|
||||
|
||||
ctx->type = POLARSSL_PK_NONE;
|
||||
ctx->data = NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user