Add the ability to close sessions. This adds *_free() functions to most
[u/mdw/putty] / x11fwd.c
index 52e678b..5467486 100644 (file)
--- a/x11fwd.c
+++ b/x11fwd.c
@@ -112,6 +112,12 @@ void *x11_invent_auth(char *proto, int protomaxlen,
     return auth;
 }
 
+void x11_free_auth(void *auth)
+{
+
+    sfree(auth);
+}
+
 /*
  * Fetch the real auth data for a given display string, and store
  * it in an X11Auth structure. Returns NULL on success, or an error