Skip to content
Commit 0bfddfc9 authored by Florian Weimer's avatar Florian Weimer
Browse files

iconv: Revert steps array reference counting changes

The changes introduce a memory leak for gconv steps arrays whose
first element is an internal conversion, which has a fixed
reference count which is not decremented.  As a result, after the
change in commit 50ce3eae, the steps
array is never freed, resulting in an unbounded memory leak.

This reverts commit 50ce3eae
("gconv: Check reference count in __gconv_release_cache
[BZ #24677]") and commit 7e740ab2
("libio: Fix gconv-related memory leak [BZ #24583]").  It
reintroduces bug 24583.  (Bug 24677 was just a regression caused by
the second commit.)
parent c86b8e75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment