[glibc] iconv: use iconv_close after iconv_open
Siddhesh Poyarekar
siddhesh@sourceware.org
Mon Dec 21 04:29:09 GMT 2020
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d4eb814027a32ab0221cf9b30d21e7ed3d9963ee
commit d4eb814027a32ab0221cf9b30d21e7ed3d9963ee
Author: liqingqing <liqingqing3@huawei.com>
Date: Sat Dec 14 16:07:22 2019 +0800
iconv: use iconv_close after iconv_open
Diff:
---
iconv/tst-iconv3.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/iconv/tst-iconv3.c b/iconv/tst-iconv3.c
index b06f75f0bc..625e4706c0 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;
}
More information about the Glibc-cvs
mailing list