diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-05-21 10:34:21 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-05-21 12:03:54 +0200 |
commit | 7e740ab2e7be7d83b75513aa406e0b10875f7f9c (patch) | |
tree | ddeb5ddc8c43af310927c3db8b164a91a74ac248 /iconv/gconv.h | |
parent | libio: Remove codecvt vtable [BZ #24588] (diff) | |
download | glibc-7e740ab2e7be7d83b75513aa406e0b10875f7f9c.tar.gz glibc-7e740ab2e7be7d83b75513aa406e0b10875f7f9c.tar.bz2 glibc-7e740ab2e7be7d83b75513aa406e0b10875f7f9c.zip |
libio: Fix gconv-related memory leak [BZ #24583]
struct gconv_fcts for the C locale is statically allocated,
and __gconv_close_transform deallocates the steps object.
Therefore this commit introduces __wcsmbs_close_conv to avoid
freeing the statically allocated steps objects.
Diffstat (limited to 'iconv/gconv.h')
0 files changed, 0 insertions, 0 deletions