summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/svr-session.c b/svr-session.c
index 5a8364a..21d366e 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -144,6 +144,9 @@ void svr_dropbear_exit(int exitcode, const char* format, va_list param) {
_dropbear_log(LOG_INFO, fmtbuf, param);
+ /* free potential public key options */
+ svr_pubkey_options_cleanup();
+
/* must be after we've done with username etc */
common_session_cleanup();