# HG changeset patch # User Matti Hamalainen # Date 1579950391 -7200 # Node ID 46efb0b163396b36198b629f6799c0920ed17ff9 # Parent f3b119599b3a4fb62155f5831780d3491eac10f1 Adjust to th-libs ioctx API change. diff -r f3b119599b3a -r 46efb0b16339 main.c --- a/main.c Fri Jan 17 20:04:06 2020 +0200 +++ b/main.c Sat Jan 25 13:06:31 2020 +0200 @@ -1306,7 +1306,7 @@ ctx->filename, th_cfg_write(ctx, cfg)); error: - th_io_free(ctx); + th_io_close(ctx); return 0; } @@ -2064,7 +2064,7 @@ setConfigFile); th_cfg_read(ctx, cfg); - th_io_free(ctx); + th_io_close(ctx); } }