]> 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>
Tue, 3 Aug 2021 15:40:20 +0000 (21:10 +0530)
commit5f9b78fe35d08739b6da1e5b356786d41116c108
treebe653c9dc3792a36edc052736a55b7fc71ee6274
parentb0234d79e7d82475d1666f25326ec045c045b3ed
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>
iconv/gconv_parseconfdir.h