diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-06-14 16:50:18 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-06-14 16:50:18 -0600 |
commit | 6fc06defd55e7d00f620d40e52da47bc4c1b3a96 (patch) | |
tree | 8a6c410b0f9280f1b218358ac34178d506b104b6 /imap/src/osdep/nt | |
parent | 992277048fb4c5f380edb8e9247b7e721662ca89 (diff) | |
download | alpine-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.c | 8 |
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); +} |