]> git.ipfire.org Git - thirdparty/gettext.git/commit
intl: Fix a memory leak.
authorBruno Haible <bruno@clisp.org>
Tue, 15 Oct 2024 19:52:30 +0000 (21:52 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 15 Oct 2024 19:52:30 +0000 (21:52 +0200)
commit10eafd9e5de95a38813827c139ece8f6f6d2c95f
treea3e3db898647227e45fda17bbd0a7a2a478583d8
parentd2293e7a807388447b868f4a4333370bd77c8d3e
intl: Fix a memory leak.

* gettext-runtime/intl/finddomain.c (_nl_find_domain): If there was an alias and
_nl_explode_name or _nl_make_l10nflist fails, free the allocated memory. Avoid
'goto'.
gettext-runtime/intl/finddomain.c