diff options
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp_lib.c')
| -rw-r--r-- | src/lib/libcrypto/ocsp/ocsp_lib.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/src/lib/libcrypto/ocsp/ocsp_lib.c b/src/lib/libcrypto/ocsp/ocsp_lib.c index a94dc838ee..514cdabf2d 100644 --- a/src/lib/libcrypto/ocsp/ocsp_lib.c +++ b/src/lib/libcrypto/ocsp/ocsp_lib.c | |||
| @@ -242,7 +242,7 @@ int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pss | |||
| 242 | 242 | ||
| 243 | if (!*phost) goto mem_err; | 243 | if (!*phost) goto mem_err; | 
| 244 | 244 | ||
| 245 | OPENSSL_free(buf); | 245 | free(buf); | 
| 246 | 246 | ||
| 247 | return 1; | 247 | return 1; | 
| 248 | 248 | ||
| @@ -255,10 +255,10 @@ int OCSP_parse_url(char *url, char **phost, char **pport, char **ppath, int *pss | |||
| 255 | 255 | ||
| 256 | 256 | ||
| 257 | err: | 257 | err: | 
| 258 | if (buf) OPENSSL_free(buf); | 258 | if (buf) free(buf); | 
| 259 | if (*ppath) OPENSSL_free(*ppath); | 259 | if (*ppath) free(*ppath); | 
| 260 | if (*pport) OPENSSL_free(*pport); | 260 | if (*pport) free(*pport); | 
| 261 | if (*phost) OPENSSL_free(*phost); | 261 | if (*phost) free(*phost); | 
| 262 | return 0; | 262 | return 0; | 
| 263 | 263 | ||
| 264 | } | 264 | } | 
