mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
15 lines
251 B
C
15 lines
251 B
C
|
/*
|
||
|
* Free a SocketPeerInfo, and everything that dangles off it.
|
||
|
*/
|
||
|
|
||
|
#include "putty.h"
|
||
|
|
||
|
void sk_free_peer_info(SocketPeerInfo *pi)
|
||
|
{
|
||
|
if (pi) {
|
||
|
sfree((char *)pi->addr_text);
|
||
|
sfree((char *)pi->log_text);
|
||
|
sfree(pi);
|
||
|
}
|
||
|
}
|