Don't free a NULL. Coverity ID 112.

This commit is contained in:
Ben Laurie 2007-04-04 14:59:20 +00:00
parent 2f877235a3
commit 313fce7b61

View File

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