diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-01-19 11:05:59 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-01-19 11:05:59 +0100 |
commit | 830a7b4ff5d08f408a3df56846d8b336d17fa979 (patch) | |
tree | 641284be9bd5c7876929fb4c920b586da64b2568 /tcp.c | |
parent | 6b260962eef4caa486ceee9a60b61c67269025c6 (diff) |
ui ++
Diffstat (limited to 'tcp.c')
-rw-r--r-- | tcp.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -132,6 +132,11 @@ TcpList* tcp_read_list(int sock,const char *tag){ return list; } +void tcp_list_destroy(TcpList *list){ + free(list->items); + free(list); +} + static const char* itoa(int n){ static char buf[64]; |