mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-13 09:07:33 -05:00
Add the ability to close sessions. This adds *_free() functions to most
areas of the code. Not all back-ends have been tested, but Telnet and SSH behave reasonably. Incidentally, almost all of this patch was written through Mac PuTTY, admittedly over a Telnet connection. [originally from svn r2615]
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user