From 6fc06defd55e7d00f620d40e52da47bc4c1b3a96 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Thu, 14 Jun 2018 16:50:18 -0600 Subject: * More changes to make Valgrind happy. --- imap/src/osdep/nt/tcp_nt.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'imap/src/osdep/nt') diff --git a/imap/src/osdep/nt/tcp_nt.c b/imap/src/osdep/nt/tcp_nt.c index aeb05a3e..7af6de77 100644 --- a/imap/src/osdep/nt/tcp_nt.c +++ b/imap/src/osdep/nt/tcp_nt.c @@ -918,3 +918,11 @@ char *tcp_name_valid (char *s) } return ret; } + +void tcp_end(void) +{ + if(myClientAddr) fs_give((void **) &myClientAddr); + if(myClientHost) fs_give((void **) &myClientHost); + if(myServerAddr) fs_give((void **) &myServerAddr); + if(myServerHost) fs_give((void **) &myServerHost); +} -- cgit v1.2.3-70-g09d2