mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
f454c84a23
I'm preparing to be able to ask about the other end of the connection too, so the first step is to give this data structure a neutral name that can refer to either. No functional change yet.
15 lines
263 B
C
15 lines
263 B
C
/*
|
|
* Free a SocketEndpointInfo, and everything that dangles off it.
|
|
*/
|
|
|
|
#include "putty.h"
|
|
|
|
void sk_free_endpoint_info(SocketEndpointInfo *ei)
|
|
{
|
|
if (ei) {
|
|
sfree((char *)ei->addr_text);
|
|
sfree((char *)ei->log_text);
|
|
sfree(ei);
|
|
}
|
|
}
|