diff --git a/src/session.c b/src/session.c index 61b48370..9e1da5cd 100644 --- a/src/session.c +++ b/src/session.c @@ -301,6 +301,7 @@ void ssh_free(ssh_session session) SAFE_FREE(session->banner); SAFE_FREE(session->disconnect_message); + SAFE_FREE(session->opts.agent_socket); SAFE_FREE(session->opts.bindaddr); SAFE_FREE(session->opts.custombanner); SAFE_FREE(session->opts.moduli_file);