Fix ommission in pk_free().

This commit is contained in:
Manuel Pégourié-Gonnard 2013-07-09 10:26:41 +02:00
parent 7a6c946446
commit 1f73a65c06

View file

@ -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;
} }