murisfurder / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

Memory leak when using viminfo and a vimrc #296

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a .vimrc file
2. Start vim using valgrind or similar tool
3. Execute the following lines:
:wv! Xviminfo
:rv! Xviminfo
4. Notice the reported memory leak

What is the expected output? What do you see instead?

No memory leak.

What version of the product are you using? On what operating system?

vim 7.4 patch level 537 on Arch linux.

Original issue reported on code.google.com by joelteichroeb on 8 Dec 2014 at 10:20

GoogleCodeExporter commented 9 years ago
Yes, I can see it. I attach a fix.

Original comment by chrisbr...@googlemail.com on 9 Dec 2014 at 9:25

Attachments:

GoogleCodeExporter commented 9 years ago
I can confirm that fixes it.

Original comment by joelteichroeb on 9 Dec 2014 at 10:04

GoogleCodeExporter commented 9 years ago
Should be fixed by patch 7.4.560

Original comment by brammool...@gmail.com on 17 Dec 2014 at 9:24