mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01: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…
Add table
Add a link
Reference in a new issue