John Little wrote:
> On Thursday, December 18, 2014 at 9:01:14 AM UTC+13, Bram Moolenaar wrote:
> > Patch 7.4.560
> ...
> > Files: src/ops.c
>
> I get a compile warning on this with gcc 4.9.2
>
> ops.c: In function ‘read_viminfo_register’:
> ops.c:575
On Thursday, December 18, 2014 at 9:01:14 AM UTC+13, Bram Moolenaar wrote:
> Patch 7.4.560
...
> Files:src/ops.c
I get a compile warning on this with gcc 4.9.2
ops.c: In function ‘read_viminfo_register’:
ops.c:5758:21: warning: ‘new_width’ may be used uninitialized in this fu
Patch 7.4.560
Problem:Memory leak using :wviminfo. Issue 296.
Solution: Free memory when needed. (idea by Christian Brabandt)
Files: src/ops.c
*** ../vim-7.4.559/src/ops.c2014-12-17 18:35:37.553795955 +0100
--- src/ops.c 2014-12-17 20:59:49.722557613 +0100