|
Karsten Hopp |
284945 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
284945 |
Subject: Patch 7.3.1240
|
|
Karsten Hopp |
284945 |
Fcc: outbox
|
|
Karsten Hopp |
284945 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
284945 |
Mime-Version: 1.0
|
|
Karsten Hopp |
284945 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
284945 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
284945 |
------------
|
|
Karsten Hopp |
284945 |
|
|
Karsten Hopp |
284945 |
Patch 7.3.1240
|
|
Karsten Hopp |
284945 |
Problem: Memory leak in findfile().
|
|
Karsten Hopp |
284945 |
Solution: Free the memory. (Christian Brabandt)
|
|
Karsten Hopp |
284945 |
Files: src/eval.c
|
|
Karsten Hopp |
284945 |
|
|
Karsten Hopp |
284945 |
|
|
Karsten Hopp |
284945 |
*** ../vim-7.3.1239/src/eval.c 2013-06-23 14:30:42.000000000 +0200
|
|
Karsten Hopp |
284945 |
--- src/eval.c 2013-06-24 22:12:41.000000000 +0200
|
|
Karsten Hopp |
284945 |
***************
|
|
Karsten Hopp |
284945 |
*** 10448,10454 ****
|
|
Karsten Hopp |
284945 |
{
|
|
Karsten Hopp |
284945 |
do
|
|
Karsten Hopp |
284945 |
{
|
|
Karsten Hopp |
284945 |
! if (rettv->v_type == VAR_STRING)
|
|
Karsten Hopp |
284945 |
vim_free(fresult);
|
|
Karsten Hopp |
284945 |
fresult = find_file_in_path_option(first ? fname : NULL,
|
|
Karsten Hopp |
284945 |
first ? (int)STRLEN(fname) : 0,
|
|
Karsten Hopp |
284945 |
--- 10448,10454 ----
|
|
Karsten Hopp |
284945 |
{
|
|
Karsten Hopp |
284945 |
do
|
|
Karsten Hopp |
284945 |
{
|
|
Karsten Hopp |
284945 |
! if (rettv->v_type == VAR_STRING || rettv->v_type == VAR_LIST)
|
|
Karsten Hopp |
284945 |
vim_free(fresult);
|
|
Karsten Hopp |
284945 |
fresult = find_file_in_path_option(first ? fname : NULL,
|
|
Karsten Hopp |
284945 |
first ? (int)STRLEN(fname) : 0,
|
|
Karsten Hopp |
284945 |
*** ../vim-7.3.1239/src/version.c 2013-06-24 21:21:52.000000000 +0200
|
|
Karsten Hopp |
284945 |
--- src/version.c 2013-06-24 22:09:30.000000000 +0200
|
|
Karsten Hopp |
284945 |
***************
|
|
Karsten Hopp |
284945 |
*** 730,731 ****
|
|
Karsten Hopp |
284945 |
--- 730,733 ----
|
|
Karsten Hopp |
284945 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
284945 |
+ /**/
|
|
Karsten Hopp |
284945 |
+ 1240,
|
|
Karsten Hopp |
284945 |
/**/
|
|
Karsten Hopp |
284945 |
|
|
Karsten Hopp |
284945 |
--
|
|
Karsten Hopp |
284945 |
DINGO: You must spank her well and after you have spanked her you
|
|
Karsten Hopp |
284945 |
may deal with her as you like and then ... spank me.
|
|
Karsten Hopp |
284945 |
AMAZING: And spank me!
|
|
Karsten Hopp |
284945 |
STUNNER: And me.
|
|
Karsten Hopp |
284945 |
LOVELY: And me.
|
|
Karsten Hopp |
284945 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
Karsten Hopp |
284945 |
|
|
Karsten Hopp |
284945 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
284945 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
284945 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
284945 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|