]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.018
- allow missing runtime/syntax/* dir
[packages/vim.git] / 7.2.018
CommitLineData
b02c59fe
ER
1To: vim-dev@vim.org
2Subject: Patch 7.2.018
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.018
11Problem: Memory leak when substitute is aborted.
12Solution: Free the buffer allocated for the new text. (Dominique Pelle)
13Files: src/ex_cmds.c
14
15
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
18***************
19*** 5059,5064 ****
20--- 5059,5065 ----
21
22 if (did_sub)
23 ++sub_nlines;
24+ vim_free(new_start); /* for when substitute was cancelled */
25 vim_free(sub_firstline); /* free the copy of the original line */
26 sub_firstline = NULL;
27 }
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
30***************
31*** 678,679 ****
32--- 678,681 ----
33 { /* Add new patch number below this line */
34+ /**/
35+ 18,
36 /**/
37
38--
39hundred-and-one symptoms of being an internet addict:
4055. You ask your doctor to implant a gig in your brain.
41
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 ///
This page took 0.157791 seconds and 4 git commands to generate.