This has been reported in the past to the maintainer.
https://lists.gnu.org/archive/html/bug-bash/2015-07/msg00073.html
https://lists.gnu.org/archive/html/bug-bash/2017-04/msg00063.html
https://lists.gnu.org/archive/html/bug-bash/2017-06/msg00052.html
--
You received this bug notification
Bug reported upstream too.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860133
Title:
Memory leak on set_default_locale
To manage notifications about this bug go to:
Note: The version embeded in 16.04 does not have the bug (although it is
bash 4.3) but the next releases has it (tested on 18.04 and 19.10). Also
tested on Debian Buster.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.