fix leaks

This commit is contained in:
Dr. Stephen Henson
2012-11-20 00:28:22 +00:00
parent 1d5f3f4640
commit cedf19f356
2 changed files with 4 additions and 0 deletions

View File

@@ -1966,6 +1966,8 @@ end:
OPENSSL_free(pass);
if (dpass)
OPENSSL_free(dpass);
if (vpm)
X509_VERIFY_PARAM_free(vpm);
#ifndef OPENSSL_NO_TLSEXT
if (tlscstatp.host)
OPENSSL_free(tlscstatp.host);