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 redefining user command with complete argument.
12 Solution: Free the old complete argument. (Dominique Pelle)
16 *** ../vim-7.2.134/src/ex_docmd.c Sun Mar 1 02:43:50 2009
17 --- src/ex_docmd.c Wed Mar 11 11:13:31 2009
22 vim_free(cmd->uc_rep);
30 vim_free(cmd->uc_rep);
32 ! #if defined(FEAT_EVAL) && defined(FEAT_CMDL_COMPL)
33 ! vim_free(cmd->uc_compl_arg);
34 ! cmd->uc_compl_arg = NULL;
43 p = cmd->uc_rep; /* source */
44 ! q = buf; /* destinateion */
51 p = cmd->uc_rep; /* source */
52 ! q = buf; /* destination */
63 + vim_free(globaldir);
68 *** ../vim-7.2.134/src/version.c Wed Mar 11 13:09:30 2009
69 --- src/version.c Wed Mar 11 15:06:23 2009
73 { /* Add new patch number below this line */
79 hundred-and-one symptoms of being an internet addict:
80 194. Your business cards contain your e-mail and home page address.
82 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
83 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
84 \\\ download, build and distribute -- http://www.A-A-P.org ///
85 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///