1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Accessing memory after it is freed when EXITFREE is defined.
12 Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle)
15 *** ../vim-7.3.360/src/buffer.c 2011-09-14 17:50:05.000000000 +0200
16 --- src/buffer.c 2011-11-30 15:38:00.000000000 +0100
19 diff_buf_delete(buf); /* Can't use 'diff' for unloaded buffer. */
22 ! if (curwin->w_buffer == buf)
23 ! reset_synblock(curwin); /* remove any ownsyntax */
28 diff_buf_delete(buf); /* Can't use 'diff' for unloaded buffer. */
31 ! /* Remove any ownsyntax, unless exiting. */
32 ! if (firstwin != NULL && curwin->w_buffer == buf)
33 ! reset_synblock(curwin);
37 *** ../vim-7.3.360/src/version.c 2011-11-30 15:19:25.000000000 +0100
38 --- src/version.c 2011-11-30 15:40:22.000000000 +0100
42 { /* Add new patch number below this line */
49 From the classified section of a city newspaper:
50 Dog for sale: eats anything and is fond of children.
52 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
53 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
54 \\\ an exciting new programming language -- http://www.Zimbu.org ///
55 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///