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 executing SourceCmd autocommands.
12 Solution: Free the memory. (Dominique Pelle)
16 *** ../vim-7.1.229/src/ex_cmds2.c Sun Jan 6 20:05:36 2008
17 --- src/ex_cmds2.c Tue Jan 15 20:41:28 2008
20 if (has_autocmd(EVENT_SOURCECMD, fname_exp, NULL)
21 && apply_autocmds(EVENT_SOURCECMD, fname_exp, fname_exp,
24 ! return aborting() ? FAIL : OK;
29 /* Apply SourcePre autocommands, they may get the file. */
30 apply_autocmds(EVENT_SOURCEPRE, fname_exp, fname_exp, FALSE, curbuf);
32 if (has_autocmd(EVENT_SOURCECMD, fname_exp, NULL)
33 && apply_autocmds(EVENT_SOURCECMD, fname_exp, fname_exp,
37 ! retval = aborting() ? FAIL : OK;
44 /* Apply SourcePre autocommands, they may get the file. */
45 apply_autocmds(EVENT_SOURCEPRE, fname_exp, fname_exp, FALSE, curbuf);
46 *** ../vim-7.1.229/src/version.c Mon Jan 14 20:11:37 2008
47 --- src/version.c Tue Jan 15 22:15:03 2008
51 { /* Add new patch number below this line */
57 Citizens are not allowed to attend a movie house or theater nor ride in a
58 public streetcar within at least four hours after eating garlic.
59 [real standing law in Indiana, United States of America]
61 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
62 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
63 \\\ download, build and distribute -- http://www.A-A-P.org ///
64 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///