|
Karsten Hopp |
6dc7fc |
To: vim-dev@vim.org
|
|
Karsten Hopp |
6dc7fc |
Subject: Patch 7.0.063
|
|
Karsten Hopp |
6dc7fc |
Fcc: outbox
|
|
Karsten Hopp |
6dc7fc |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
6dc7fc |
Mime-Version: 1.0
|
|
Karsten Hopp |
6dc7fc |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
6dc7fc |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
6dc7fc |
------------
|
|
Karsten Hopp |
6dc7fc |
|
|
Karsten Hopp |
6dc7fc |
Patch 7.0.063
|
|
Karsten Hopp |
6dc7fc |
Problem: Tiny chance for a memory leak. (coverity)
|
|
Karsten Hopp |
6dc7fc |
Solution: Free pointer when next memory allocation fails.
|
|
Karsten Hopp |
6dc7fc |
Files: src/eval.c
|
|
Karsten Hopp |
6dc7fc |
|
|
Karsten Hopp |
6dc7fc |
|
|
Karsten Hopp |
6dc7fc |
*** ../vim-7.0.062/src/eval.c Wed Aug 16 19:34:59 2006
|
|
Karsten Hopp |
6dc7fc |
--- src/eval.c Wed Aug 16 21:33:24 2006
|
|
Karsten Hopp |
6dc7fc |
***************
|
|
Karsten Hopp |
6dc7fc |
*** 18811,18816 ****
|
|
Karsten Hopp |
6dc7fc |
--- 18811,18817 ----
|
|
Karsten Hopp |
6dc7fc |
if (dict_add(fudi.fd_dict, fudi.fd_di) == FAIL)
|
|
Karsten Hopp |
6dc7fc |
{
|
|
Karsten Hopp |
6dc7fc |
vim_free(fudi.fd_di);
|
|
Karsten Hopp |
6dc7fc |
+ vim_free(fp);
|
|
Karsten Hopp |
6dc7fc |
goto erret;
|
|
Karsten Hopp |
6dc7fc |
}
|
|
Karsten Hopp |
6dc7fc |
}
|
|
Karsten Hopp |
6dc7fc |
*** ../vim-7.0.062/src/version.c Wed Aug 16 21:42:34 2006
|
|
Karsten Hopp |
6dc7fc |
--- src/version.c Wed Aug 16 22:02:57 2006
|
|
Karsten Hopp |
6dc7fc |
***************
|
|
Karsten Hopp |
6dc7fc |
*** 668,669 ****
|
|
Karsten Hopp |
6dc7fc |
--- 668,671 ----
|
|
Karsten Hopp |
6dc7fc |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
6dc7fc |
+ /**/
|
|
Karsten Hopp |
6dc7fc |
+ 63,
|
|
Karsten Hopp |
6dc7fc |
/**/
|
|
Karsten Hopp |
6dc7fc |
|
|
Karsten Hopp |
6dc7fc |
--
|
|
Karsten Hopp |
6dc7fc |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
6dc7fc |
167. You have more than 200 websites bookmarked.
|
|
Karsten Hopp |
6dc7fc |
|
|
Karsten Hopp |
6dc7fc |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
6dc7fc |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
6dc7fc |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
6dc7fc |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|