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: Leaking memory when :vimgrep restores the directory.
12 Solution: Free the allocated memory. (Christian Brabandt)
16 *** ../vim-7.3.741/src/quickfix.c 2012-11-28 17:41:55.000000000 +0100
17 --- src/quickfix.c 2012-11-28 22:09:40.000000000 +0100
21 ea.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd;
24 + vim_free(dirname_now);
28 *** ../vim-7.3.741/src/version.c 2012-11-28 19:10:51.000000000 +0100
29 --- src/version.c 2012-11-28 22:11:50.000000000 +0100
33 { /* Add new patch number below this line */
39 How many light bulbs does it take to change a person?
41 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
42 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
43 \\\ an exciting new programming language -- http://www.Zimbu.org ///
44 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///