diff options
author | liqingqing <liqingqing3@huawei.com> | 2019-12-14 16:07:22 +0800 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2020-12-21 09:51:40 +0530 |
commit | d4eb814027a32ab0221cf9b30d21e7ed3d9963ee (patch) | |
tree | 22960c7672a7e4ec6d43172823bdc2ace47401fd /iconv | |
parent | ee7a3144c9922808181009b7b3e50e852fb4999b (diff) | |
download | glibc-d4eb814027a32ab0221cf9b30d21e7ed3d9963ee.zip glibc-d4eb814027a32ab0221cf9b30d21e7ed3d9963ee.tar.gz glibc-d4eb814027a32ab0221cf9b30d21e7ed3d9963ee.tar.bz2 |
iconv: use iconv_close after iconv_open
Diffstat (limited to 'iconv')
-rw-r--r-- | iconv/tst-iconv3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/iconv/tst-iconv3.c b/iconv/tst-iconv3.c index b06f75f..625e470 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; } |