1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00
putty-source/utils/sk_free_peer_info.c

15 lines
263 B
C
Raw Normal View History

/*
* 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);
}
}