summaryrefslogtreecommitdiffhomepage
path: root/sysoptions.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-24 22:01:33 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-24 22:01:33 +0800
commit21bed0d21aa765c7796d977fcb36902399e97242 (patch)
tree9bcdd6ef0ba69f74b2b8f8675b3bca414ad3e4c1 /sysoptions.h
parent4b1f5ec7c29043a7d4ec0dd75f10479ed909a187 (diff)
Free memory before exiting. Based on patch from Thorsten Horstmann.
Client side is not complete.
Diffstat (limited to 'sysoptions.h')
-rw-r--r--sysoptions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysoptions.h b/sysoptions.h
index bec7246..03f4076 100644
--- a/sysoptions.h
+++ b/sysoptions.h
@@ -256,6 +256,9 @@
#define DROPBEAR_LISTEN_BACKLOG MAX_CHANNELS
#endif
+/* free memory before exiting */
+#define DROPBEAR_CLEANUP
+
/* Use this string since some implementations might special-case it */
#define DROPBEAR_KEEPALIVE_STRING "keepalive@openssh.com"