summaryrefslogtreecommitdiff
path: root/imap/src/osdep/nt
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-06-14 16:50:18 -0600
committerEduardo Chappa <chappa@washington.edu>2018-06-14 16:50:18 -0600
commit6fc06defd55e7d00f620d40e52da47bc4c1b3a96 (patch)
tree8a6c410b0f9280f1b218358ac34178d506b104b6 /imap/src/osdep/nt
parent992277048fb4c5f380edb8e9247b7e721662ca89 (diff)
downloadalpine-6fc06defd55e7d00f620d40e52da47bc4c1b3a96.tar.xz
* More changes to make Valgrind happy.
Diffstat (limited to 'imap/src/osdep/nt')
-rw-r--r--imap/src/osdep/nt/tcp_nt.c8
1 files changed, 8 insertions, 0 deletions
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);
+}