projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f87723
)
Don't free a NULL. Coverity ID 112.
author
Ben Laurie
<ben@openssl.org>
Wed, 4 Apr 2007 14:59:20 +0000
(14:59 +0000)
committer
Ben Laurie
<ben@openssl.org>
Wed, 4 Apr 2007 14:59:20 +0000
(14:59 +0000)
apps/ocsp.c
patch
|
blob
|
history
diff --git
a/apps/ocsp.c
b/apps/ocsp.c
index 6b7e85de36b5214933f3ba6aa35ac5d4278aefb3..23c76868608537ec8b1ebcf4567957d53e4354e6 100644
(file)
--- a/
apps/ocsp.c
+++ b/
apps/ocsp.c
@@
-1337,8
+1337,8
@@
static OCSP_RESPONSE *query_responder(BIO *err, BIO *cbio, char *path,
}
err:
-
- OCSP_REQ_CTX_free(ctx);
+ if (ctx)
+
OCSP_REQ_CTX_free(ctx);
return rsp;
}