4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Memory leak when substitute is aborted.
12 Solution: Free the buffer allocated for the new text. (Dominique Pelle)
16 *** ../vim-7.2.017/src/ex_cmds.c Wed Aug 6 15:03:07 2008
17 --- src/ex_cmds.c Sun Sep 14 13:45:03 2008
24 + vim_free(new_start); /* for when substitute was cancelled */
25 vim_free(sub_firstline); /* free the copy of the original line */
28 *** ../vim-7.2.017/src/version.c Sun Sep 14 15:57:54 2008
29 --- src/version.c Sun Sep 14 21:38:25 2008
33 { /* Add new patch number below this line */
39 hundred-and-one symptoms of being an internet addict:
40 55. You ask your doctor to implant a gig in your brain.
42 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
43 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
44 \\\ download, build and distribute -- http://www.A-A-P.org ///
45 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///