mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 20:38:15 +00:00
Fix ommission in pk_free().
This commit is contained in:
parent
7a6c946446
commit
1f73a65c06
1 changed files with 2 additions and 0 deletions
|
@ -66,6 +66,8 @@ void pk_free( pk_context *ctx )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free( ctx-> data );
|
||||||
|
|
||||||
ctx->type = POLARSSL_PK_NONE;
|
ctx->type = POLARSSL_PK_NONE;
|
||||||
ctx->data = NULL;
|
ctx->data = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue