diff listener.h @ 1040:2b4fd440399d

Free memory before exiting. Based on patch from Thorsten Horstmann. Client side is not complete.
author Matt Johnston <matt@ucc.asn.au>
date Tue, 24 Feb 2015 22:01:33 +0800
parents deed0571cacc
children 9169e4e7cbee
line wrap: on
line diff
--- a/listener.h	Tue Feb 24 20:53:32 2015 +0800
+++ b/listener.h	Tue Feb 24 22:01:33 2015 +0800
@@ -60,4 +60,6 @@
 
 void remove_listener(struct Listener* listener);
 
+void remove_all_listeners(void);
+
 #endif /* DROPBEAR_LISTENER_H */