mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Don't free a NULL. Coverity ID 112.
This commit is contained in:
parent
2f877235a3
commit
313fce7b61
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user