projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free cleanup 12
[openssl.git]
/
crypto
/
jpake
/
jpake.c
diff --git
a/crypto/jpake/jpake.c
b/crypto/jpake/jpake.c
index eb6654d44fe683066b4f9e49735f2d7a9b4034c7..b097c7f5356534ff5ad8b7325a307cd403a89b7c 100644
(file)
--- a/
crypto/jpake/jpake.c
+++ b/
crypto/jpake/jpake.c
@@
-125,6
+125,8
@@
JPAKE_CTX *JPAKE_CTX_new(const char *name, const char *peer_name,
void JPAKE_CTX_free(JPAKE_CTX *ctx)
{
+ if (!ctx)
+ return;
JPAKE_CTX_release(ctx);
OPENSSL_free(ctx);
}