Dominique Pelle wrote: > > > Attached patch fixes a memory leak in regexp_nfa.c > > > detected by valgrind: > > > > > > ==3055== 128 bytes in 4 blocks are definitely lost in loss record 76 of > > > 110 > > > ==3055== at 0x4C2B3F8: malloc (in > > > /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) > > > ==3055== by 0x50E98C: lalloc (misc2.c:929) > > > ==3055== by 0x572226: post2nfa (regexp_nfa.c:2161) > > > ==3055== by 0x57697F: nfa_regcomp (regexp_nfa.c:3682) > > > ==3055== by 0x576CF7: vim_regcomp (regexp.c:7827) > > [...] > > > > > > > > I can reproduce it with Vim-7.3.988 using... > > > vim -N -c ':syntax on' vim/src/spell.c > > > ... and then exiting immediately with ":q!" > > > > Thanks! Please keep an eye out for more leaks. The more problems I > > find in the NFA code the less I trust it... > > > I won't find time to test much before next Sunday as I am traveling. > I also want to sent updates of the French & Esperanto > translations early next week. Hopefully that's early enough > for the 7.4 release.
The deadline for normal runtime file updates is end of May. After that it's bug fixing only. -- Computers make very fast, very accurate, mistakes. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
