mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
iconv_charmap: Close output file when done
Reviewed-by: Arjun Shankar <arjun@redhat.com>
This commit is contained in:
parent
5f9b78fe35
commit
1e0e6d656d
@ -234,6 +234,8 @@ charmap_conversion (const char *from_code, struct charmap_t *from_charmap,
|
||||
while (++remaining < argc);
|
||||
|
||||
/* All done. */
|
||||
if (output != stdout)
|
||||
fclose (output);
|
||||
free_table (cvtbl);
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user