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 getmatches().
12 Solution: Don't increment the refcount twice.
16 *** ../vim-7.1.113/src/eval.c Mon Sep 17 21:37:09 2007
17 --- src/eval.c Sun Sep 16 19:24:49 2007
23 - ++dict->dv_refcount;
24 dict_add_nr_str(dict, "group", 0L, syn_id2name(cur->hlg_id));
25 dict_add_nr_str(dict, "pattern", 0L, cur->pattern);
26 dict_add_nr_str(dict, "priority", (long)cur->priority, NULL);
28 *** ../vim-7.1.113/src/version.c Mon Sep 17 21:37:09 2007
29 --- src/version.c Mon Sep 17 21:54:08 2007
33 { /* Add new patch number below this line */
39 Be nice to your kids... they'll be the ones choosing your nursing home.
41 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
42 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
43 \\\ download, build and distribute -- http://www.A-A-P.org ///
44 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///