Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leak of ssl_ext_host_name, losing memory every SSL disconnect #50

Merged
merged 1 commit into from
Jul 23, 2017
Merged

Fix memory leak of ssl_ext_host_name, losing memory every SSL disconnect #50

merged 1 commit into from
Jul 23, 2017

Commits on Jul 21, 2017

  1. Fix memory leak of ssl_ext_host_name

    ssl_ext_set_host_name uses strdup() to set a hostname into the ssl_ext
    structure, but this memory was not being freed in ssl_ext_free.
    
    Add a one-liner to free it during the ssl_ext_free routine, fixing the leak.
    earlephilhower committed Jul 21, 2017
    Configuration menu
    Copy the full SHA
    ad5b44e View commit details
    Browse the repository at this point in the history