mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Fix ommission in pk_free().
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user