From 21bed0d21aa765c7796d977fcb36902399e97242 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 24 Feb 2015 22:01:33 +0800 Subject: Free memory before exiting. Based on patch from Thorsten Horstmann. Client side is not complete. --- sysoptions.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysoptions.h') 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" -- cgit v1.2.3