Patch 8.2.0544
Problem: Memory leak in search test.
Solution: Free msgbuf. (Dominique Pelle, closes #5912)
Files: src/search.c
*** ../vim-8.2.0543/src/search.c 2020-04-02 21:13:21.392362410 +0200
--- src/search.c 2020-04-11 21:30:12.297573578 +0200
***************
*** 1416,1421 ****
--- 1416,1422 ----
// Reserve enough space for the search pattern + offset.
len = STRLEN(p) + off_len + 3;
+ vim_free(msgbuf);
msgbuf = alloc(len);
if (msgbuf != NULL)
{
*** ../vim-8.2.0543/src/version.c 2020-04-11 20:50:25.376120463 +0200
--- src/version.c 2020-04-11 21:30:48.913480487 +0200
***************
*** 740,741 ****
--- 740,743 ----
{ /* Add new patch number below this line */
+ /**/
+ 544,
/**/
--
MICHAEL PALIN PLAYED: 1ST SOLDIER WITH A KEEN INTEREST IN BIRDS, DENNIS, MR
DUCK (A VILLAGE CARPENTER WHO IS ALMOST KEENER THAN
ANYONE ELSE TO BURN WITCHES), THREE-HEADED KNIGHT, SIR
GALAHAD, KING OF SWAMP CASTLE, BROTHER MAYNARD'S ROOMATE
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202004111932.03BJW4gk023055%40masaka.moolenaar.net.