changeset 355:9924d4518932

Adjust to th-libs ioctx API change.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 25 Jan 2020 13:06:02 +0200
parents 0e818307e90b
children 811eb6c6695e
files sidinfo.c sidutil.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Fri Jan 24 04:55:09 2020 +0200
+++ b/sidinfo.c	Sat Jan 25 13:06:02 2020 +0200
@@ -1043,7 +1043,7 @@
     // Shutdown
 error:
     sidlib_free_sid_file(psid);
-    th_io_free(infh);
+    th_io_close(infh);
 
     return TRUE;
 }
--- a/sidutil.c	Fri Jan 24 04:55:09 2020 +0200
+++ b/sidutil.c	Sat Jan 25 13:06:02 2020 +0200
@@ -383,7 +383,7 @@
     }
 
 out:
-    th_io_free(infh);
+    th_io_close(infh);
     return res;
 }
 
@@ -425,6 +425,6 @@
     }
 
 out:
-    th_io_free(infh);
+    th_io_close(infh);
     return res;
 }