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 in spell info when deleting buffer.
12 Solution: Free the memory. (Dominique Pelle)
16 *** ../vim-7.2.033/src/buffer.c Mon Sep 1 17:32:40 2008
17 --- src/buffer.c Wed Nov 12 11:21:49 2008
21 vim_free(buf->b_start_fenc);
22 buf->b_start_fenc = NULL;
25 + ga_clear(&buf->b_langp);
32 * "buf" if one exists */
33 if ((swb_flags & SWB_USEOPEN) && buf_jump_open_win(buf))
35 ! /* If 'switchbuf' contians "usetab": jump to first window in any tab
36 * page containing "buf" if one exists */
37 if ((swb_flags & SWB_USETAB) && buf_jump_open_tab(buf))
40 * "buf" if one exists */
41 if ((swb_flags & SWB_USEOPEN) && buf_jump_open_win(buf))
43 ! /* If 'switchbuf' contains "usetab": jump to first window in any tab
44 * page containing "buf" if one exists */
45 if ((swb_flags & SWB_USETAB) && buf_jump_open_tab(buf))
49 width = vim_strsize(out);
50 if (maxwidth > 0 && width > maxwidth)
52 ! /* Result is too long, must trunctate somewhere. */
57 width = vim_strsize(out);
58 if (maxwidth > 0 && width > maxwidth)
60 ! /* Result is too long, must truncate somewhere. */
64 *** ../vim-7.2.033/src/version.c Tue Nov 11 21:55:29 2008
65 --- src/version.c Wed Nov 12 12:51:21 2008
69 { /* Add new patch number below this line */
75 hundred-and-one symptoms of being an internet addict:
76 236. You start saving URL's in your digital watch.
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80 \\\ download, build and distribute -- http://www.A-A-P.org ///
81 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///