This patch fixes two typos: the reverse_ prefix is missing in the
iconv_close calls.
PR preprocessor/124930
libcpp/ChangeLog:
* charset.cc (_cpp_destroy_iconv): Correct two calls to
iconv_close.
Reviewed-by: Jakub Jelinek <jakub@redhat.com>
if (pfile->wide_cset_desc.func == convert_using_iconv)
iconv_close (pfile->wide_cset_desc.cd);
if (pfile->reverse_narrow_cset_desc.func == convert_using_iconv)
- iconv_close (pfile->narrow_cset_desc.cd);
+ iconv_close (pfile->reverse_narrow_cset_desc.cd);
if (pfile->reverse_utf8_cset_desc.func == convert_using_iconv)
- iconv_close (pfile->utf8_cset_desc.cd);
+ iconv_close (pfile->reverse_utf8_cset_desc.cd);
}
}