This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/24583] Memory leak in fopen with ccs argument


https://sourceware.org/bugzilla/show_bug.cgi?id=24583

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Florian Weimer <fw@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7e740ab2e7be7d83b75513aa406e0b10875f7f9c

commit 7e740ab2e7be7d83b75513aa406e0b10875f7f9c
Author: Florian Weimer <fweimer@redhat.com>
Date:   Tue May 21 10:34:21 2019 +0200

    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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]