mirror of https://github.com/wolfSSL/wolfssl.git
test_ssl_crl_ocsp.c: free parsed URL parts on the failure path
parent
a9526e9fd8
commit
259b291f42
|
|
@ -392,6 +392,10 @@ static int test_ssl_crl_ocsp_url_bad(const char* url)
|
|||
ExpectNull(path);
|
||||
ExpectIntEQ(isSsl, 0);
|
||||
|
||||
XFREE(host, NULL, DYNAMIC_TYPE_OPENSSL);
|
||||
XFREE(port, NULL, DYNAMIC_TYPE_OPENSSL);
|
||||
XFREE(path, NULL, DYNAMIC_TYPE_OPENSSL);
|
||||
|
||||
return EXPECT_RESULT();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue