changeset 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
files main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Wed Dec 25 15:18:47 2019 +0200
+++ b/main.c	Wed Dec 25 15:40:35 2019 +0200
@@ -2063,7 +2063,7 @@
                 setConfigFile);
 
             th_cfg_read(ctx, cfg);
-            th_io_close(ctx);
+            th_io_free(ctx);
         }
     }