[PATCH] iconv: use iconv_close after iconv_open

liqingqing liqingqing3@huawei.com
Sat Dec 14 08:07:00 GMT 2019


---
 iconv/tst-iconv3.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/iconv/tst-iconv3.c b/iconv/tst-iconv3.c
index b06f75f0bc5..625e4706c0f 100644
--- a/iconv/tst-iconv3.c
+++ b/iconv/tst-iconv3.c
@@ -49,6 +49,8 @@ do_test (void)
   else
     printf ("Succeeded\n");
 
+  iconv_close (cd);
+
   return result;
 }
 
-- 
2.23.0.windows.1




More information about the Libc-alpha mailing list