]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/blobdiff - logging.c
Misc tweaks to proxy section
[PuTTY_svn.git] / logging.c
index b8091bfdfe04c61bd624035bda6dd3ceca5c0fa0..652eb9df493ede44410eb262cf5b4d18676a2421 100644 (file)
--- a/logging.c
+++ b/logging.c
@@ -170,6 +170,14 @@ void *log_init(void *frontend, Config *cfg)
     return ctx;
 }
 
+void log_free(void *handle)
+{
+    struct LogContext *ctx = (struct LogContext *)handle;
+
+    logfclose(ctx);
+    sfree(ctx);
+}
+
 void log_reconfig(void *handle, Config *cfg)
 {
     struct LogContext *ctx = (struct LogContext *)handle;