Commit 4cfa4ae8 authored by Richard Levitte's avatar Richard Levitte
Browse files

Avoid a memory leak in OCSP_parse_url().

Notified by Paul Siegel <psiegel@corestreet.com>
parent a30af36c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -253,6 +253,7 @@ 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);