|
Karsten Hopp |
7e2ed2 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
7e2ed2 |
Subject: Patch 7.3.742
|
|
Karsten Hopp |
7e2ed2 |
Fcc: outbox
|
|
Karsten Hopp |
7e2ed2 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
7e2ed2 |
Mime-Version: 1.0
|
|
Karsten Hopp |
7e2ed2 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
7e2ed2 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
7e2ed2 |
------------
|
|
Karsten Hopp |
7e2ed2 |
|
|
Karsten Hopp |
7e2ed2 |
Patch 7.3.742
|
|
Karsten Hopp |
7e2ed2 |
Problem: Leaking memory when :vimgrep restores the directory.
|
|
Karsten Hopp |
7e2ed2 |
Solution: Free the allocated memory. (Christian Brabandt)
|
|
Karsten Hopp |
7e2ed2 |
Files: src/quickfix.c
|
|
Karsten Hopp |
7e2ed2 |
|
|
Karsten Hopp |
7e2ed2 |
|
|
Karsten Hopp |
7e2ed2 |
*** ../vim-7.3.741/src/quickfix.c 2012-11-28 17:41:55.000000000 +0100
|
|
Karsten Hopp |
7e2ed2 |
--- src/quickfix.c 2012-11-28 22:09:40.000000000 +0100
|
|
Karsten Hopp |
7e2ed2 |
***************
|
|
Karsten Hopp |
7e2ed2 |
*** 3515,3520 ****
|
|
Karsten Hopp |
7e2ed2 |
--- 3515,3521 ----
|
|
Karsten Hopp |
7e2ed2 |
ea.cmdidx = (curwin->w_localdir == NULL) ? CMD_cd : CMD_lcd;
|
|
Karsten Hopp |
7e2ed2 |
ex_cd(&ea);
|
|
Karsten Hopp |
7e2ed2 |
}
|
|
Karsten Hopp |
7e2ed2 |
+ vim_free(dirname_now);
|
|
Karsten Hopp |
7e2ed2 |
}
|
|
Karsten Hopp |
7e2ed2 |
}
|
|
Karsten Hopp |
7e2ed2 |
|
|
Karsten Hopp |
7e2ed2 |
*** ../vim-7.3.741/src/version.c 2012-11-28 19:10:51.000000000 +0100
|
|
Karsten Hopp |
7e2ed2 |
--- src/version.c 2012-11-28 22:11:50.000000000 +0100
|
|
Karsten Hopp |
7e2ed2 |
***************
|
|
Karsten Hopp |
7e2ed2 |
*** 727,728 ****
|
|
Karsten Hopp |
7e2ed2 |
--- 727,730 ----
|
|
Karsten Hopp |
7e2ed2 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
7e2ed2 |
+ /**/
|
|
Karsten Hopp |
7e2ed2 |
+ 742,
|
|
Karsten Hopp |
7e2ed2 |
/**/
|
|
Karsten Hopp |
7e2ed2 |
|
|
Karsten Hopp |
7e2ed2 |
--
|
|
Karsten Hopp |
7e2ed2 |
How many light bulbs does it take to change a person?
|
|
Karsten Hopp |
7e2ed2 |
|
|
Karsten Hopp |
7e2ed2 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
7e2ed2 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
7e2ed2 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
7e2ed2 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|