]> git.ipfire.org Git - thirdparty/glibc.git/commit
gconv_parseconfdir: Fix memory leak
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 3 Aug 2021 15:40:20 +0000 (21:10 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 4 Aug 2021 10:21:21 +0000 (15:51 +0530)
commit3a48da47a91ccc6f5de260574809e7a44551b876
tree5d75cfa805cc55783107be4a86f388fdb665c637
parent0b03996304f86d6dba8f0d4b7048b9bb7186f17d
gconv_parseconfdir: Fix memory leak

The allocated `conf` would leak if we have to skip over the file due
to the underlying filesystem not supporting dt_type.

Reviewed-by: Arjun Shankar <arjun@redhat.com>
(cherry picked from commit 5f9b78fe35d08739b6da1e5b356786d41116c108)
iconv/gconv_parseconfdir.h