Re: Memory leaks in bash-4.4.0

2017-01-30 Thread Chet Ramey
On 1/30/17 2:34 PM, Bruce Dubbs wrote: >> xmalloc is a malloc wrapper, and `temp' is the return value from the >> function. > > Yes, I know. The issue is that the caller, in this case set_default_locale > or possibly main, never runs free on the allocated space. I tried to trace > it in set_def

Re: Memory leaks in bash-4.4.0

2017-01-30 Thread Bruce Dubbs
Chet Ramey wrote: On 1/29/17 6:48 PM, Bruce Dubbs wrote: Bash Version: 4.4 Patch Level: 0 Release Status: release Description: When running regression tests on libinput, I get two different leaks identified by valgrind. The files below are not a part of libinput but are a part of bash.

Re: Memory leaks in bash-4.4.0

2017-01-30 Thread Chet Ramey
On 1/29/17 6:48 PM, Bruce Dubbs wrote: > Bash Version: 4.4 > Patch Level: 0 > Release Status: release > > Description: > >When running regression tests on libinput, I get two different leaks > identified by valgrind. The files below are not a part of libinput but are > a part of bash. What

Memory leaks in bash-4.4.0

2017-01-29 Thread Bruce Dubbs
onfiguration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/local