commit | 0ea4c23ca754c3e6c005b67403a0619ca17d4587 | [log] [tgz] |
---|---|---|
author | Roberto Guimaraes <rguimaraes@fastly.com> | Sat Jun 11 15:58:10 2016 -0700 |
committer | Willy Tarreau <w@1wt.eu> | Sun Jun 12 13:12:32 2016 +0200 |
tree | 222513b1698985293adf0f25a8d6c76a93f2bd01 | |
parent | 4b788f7d349ddde3f70f063b7394529eac6ab678 [diff] |
BUG/MINOR: ssl: fix potential memory leak in ssl_sock_load_dh_params() Valgrind reports that the memory allocated in ssl_get_dh_1024() was leaking. Upon further inspection of openssl code, it seems that SSL_CTX_set_tmp_dh makes a copy of the data, so calling DH_free afterwards makes sense.