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