diff options
Diffstat (limited to 'lib/libssl/src/crypto/ocsp/ocsp_lib.c')
-rw-r--r-- | lib/libssl/src/crypto/ocsp/ocsp_lib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libssl/src/crypto/ocsp/ocsp_lib.c b/lib/libssl/src/crypto/ocsp/ocsp_lib.c index a94dc838eec..514cdabf2d6 100644 --- a/lib/libssl/src/crypto/ocsp/ocsp_lib.c +++ b/lib/libssl/src/crypto/ocsp/ocsp_lib.c @@ -242,7 +242,7 @@ int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pss if (!*phost) goto mem_err; - OPENSSL_free(buf); + free(buf); return 1; @@ -255,10 +255,10 @@ int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pss err: - if (buf) OPENSSL_free(buf); - if (*ppath) OPENSSL_free(*ppath); - if (*pport) OPENSSL_free(*pport); - if (*phost) OPENSSL_free(*phost); + if (buf) free(buf); + if (*ppath) free(*ppath); + if (*pport) free(*pport); + if (*phost) free(*phost); return 0; } |