unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] iconv: use iconv_close after iconv_open
@ 2019-12-14  8:07 liqingqing
  2020-12-21  4:29 ` Siddhesh Poyarekar
  0 siblings, 1 reply; 2+ messages in thread
From: liqingqing @ 2019-12-14  8:07 UTC (permalink / raw
  To: libc-alpha, fweimer, carlos; +Cc: hushiyuan, liusirui

---
 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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iconv: use iconv_close after iconv_open
  2019-12-14  8:07 [PATCH] iconv: use iconv_close after iconv_open liqingqing
@ 2020-12-21  4:29 ` Siddhesh Poyarekar
  0 siblings, 0 replies; 2+ messages in thread
From: Siddhesh Poyarekar @ 2020-12-21  4:29 UTC (permalink / raw
  To: liqingqing, libc-alpha, fweimer, carlos; +Cc: hushiyuan, liusirui

On 12/14/19 1:37 PM, liqingqing wrote:
> ---
>   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;
>   }
>   
> 

Committed, thanks.

Siddhesh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-21  4:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-14  8:07 [PATCH] iconv: use iconv_close after iconv_open liqingqing
2020-12-21  4:29 ` Siddhesh Poyarekar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).