X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=logging.c;h=652eb9df493ede44410eb262cf5b4d18676a2421;hb=e1922bdadebfa234e2e0d0fb4b9dcd4f727772f5;hp=b8091bfdfe04c61bd624035bda6dd3ceca5c0fa0;hpb=3509f394d0f4b4346cc5a6082f7ce5f3623a5ac7;p=PuTTY_svn.git diff --git a/logging.c b/logging.c index b8091bfd..652eb9df 100644 --- 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;