Mercurial > hg > nnchat
comparison main.c @ 692:863542691130
Free io context instead of just closing it.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Dec 2019 15:40:35 +0200 |
parents | b5d5d37bbc64 |
children | 9ed896f7b531 |
comparison
equal
deleted
inserted
replaced
691:b5d5d37bbc64 | 692:863542691130 |
---|---|
2061 | 2061 |
2062 THMSG(0, "Reading configuration from '%s'.\n", | 2062 THMSG(0, "Reading configuration from '%s'.\n", |
2063 setConfigFile); | 2063 setConfigFile); |
2064 | 2064 |
2065 th_cfg_read(ctx, cfg); | 2065 th_cfg_read(ctx, cfg); |
2066 th_io_close(ctx); | 2066 th_io_free(ctx); |
2067 } | 2067 } |
2068 } | 2068 } |
2069 | 2069 |
2070 if (setProxyURI && !argHandleProxyURI(setProxyURI)) | 2070 if (setProxyURI && !argHandleProxyURI(setProxyURI)) |
2071 goto err_exit; | 2071 goto err_exit; |