commit | 1f73a65c06d92e7768ff4c4a3831423dcf0f437d | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jul 09 10:26:41 2013 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jul 09 10:42:13 2013 +0200 |
tree | e548d1b2cb92a8b7e45382e564022e75046e6ff0 | |
parent | 7a6c946446e67b49196b7ba6c9a6a16cdb50180f [diff] [blame] |
Fix ommission in pk_free().
diff --git a/library/pk.c b/library/pk.c index ca99fc6..edbbf50 100644 --- a/library/pk.c +++ b/library/pk.c
@@ -66,6 +66,8 @@ break; } + free( ctx-> data ); + ctx->type = POLARSSL_PK_NONE; ctx->data = NULL; }