Re: [bug] memory leak with getbufinfo() and signs in Vim-7.4.2275

2016-08-28 Fir de Conversatie Bram Moolenaar
Yegappan Lakshmanan wrote: > On Sun, Aug 28, 2016 at 1:56 AM, Dominique Pell=C3=A9 > wrote: > > Hi > > > > I see a memory leak in Vim-7.4.2275 which can be > > reproduced by: > > > > $ valgrind --leak-check=3Dyes --num-callers=3D50 \ > >vim -u NONE -N \ > >-c

Re: [bug] memory leak with getbufinfo() and signs in Vim-7.4.2275

2016-08-28 Fir de Conversatie Bram Moolenaar
Dominique Pellé wrote: > I see a memory leak in Vim-7.4.2275 which can be > reproduced by: > > $ valgrind --leak-check=yes --num-callers=50 \ >vim -u NONE -N \ >-c 'sign define Sign text=x' \ >-c 'exe "sign place 1 line=3 name=Sign buffer=" . bufnr("%")' \ >-c 'echo

Re: [bug] memory leak with getbufinfo() and signs in Vim-7.4.2275

2016-08-28 Fir de Conversatie Yegappan Lakshmanan
Hi Dominique, On Sun, Aug 28, 2016 at 1:56 AM, Dominique Pellé wrote: > Hi > > I see a memory leak in Vim-7.4.2275 which can be > reproduced by: > > $ valgrind --leak-check=yes --num-callers=50 \ >vim -u NONE -N \ >-c 'sign define Sign text=x' \ >-c 'exe

[bug] memory leak with getbufinfo() and signs in Vim-7.4.2275

2016-08-28 Fir de Conversatie Dominique Pellé
Hi I see a memory leak in Vim-7.4.2275 which can be reproduced by: $ valgrind --leak-check=yes --num-callers=50 \ vim -u NONE -N \ -c 'sign define Sign text=x' \ -c 'exe "sign place 1 line=3 name=Sign buffer=" . bufnr("%")' \ -c 'echo getbufinfo()' \ -c q 2> log And log file