Skip to content

Commit

Permalink
SRP memory leak fix
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <levitte@openssl.org>
  • Loading branch information
snhenson committed Sep 28, 2015
1 parent 3a79618 commit d40a1f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/s_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2023,6 +2023,9 @@ int s_client_main(int argc, char **argv)
EVP_PKEY_free(key);
sk_X509_pop_free(chain, X509_free);
OPENSSL_free(pass);
#ifndef OPENSSL_NO_SRP
OPENSSL_free(srp_arg.srppassin);
#endif
X509_VERIFY_PARAM_free(vpm);
ssl_excert_free(exc);
sk_OPENSSL_STRING_free(ssl_args);
Expand Down

0 comments on commit d40a1f7

Please sign in to comment.