|
Karsten Hopp |
b8d7f4 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
b8d7f4 |
Subject: patch 7.0.213
|
|
Karsten Hopp |
b8d7f4 |
Fcc: outbox
|
|
Karsten Hopp |
b8d7f4 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
b8d7f4 |
Mime-Version: 1.0
|
|
Karsten Hopp |
b8d7f4 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
b8d7f4 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
b8d7f4 |
------------
|
|
Karsten Hopp |
b8d7f4 |
|
|
Karsten Hopp |
b8d7f4 |
Patch 7.0.213
|
|
Karsten Hopp |
b8d7f4 |
Problem: When 'spellfile' has two regions that use the same sound folding
|
|
Karsten Hopp |
b8d7f4 |
using "z=" will cause memory to be freed twice. (Mark Woodward)
|
|
Karsten Hopp |
b8d7f4 |
Solution: Clear the hashtable properly so that the items are only freed once.
|
|
Karsten Hopp |
b8d7f4 |
Files: src/spell.c
|
|
Karsten Hopp |
b8d7f4 |
|
|
Karsten Hopp |
b8d7f4 |
|
|
Karsten Hopp |
b8d7f4 |
*** ../vim-7.0.212/src/spell.c Thu Sep 14 10:48:00 2006
|
|
Karsten Hopp |
b8d7f4 |
--- src/spell.c Thu Mar 8 14:54:46 2007
|
|
Karsten Hopp |
b8d7f4 |
***************
|
|
Karsten Hopp |
b8d7f4 |
*** 13094,13100 ****
|
|
Karsten Hopp |
b8d7f4 |
--- 13094,13103 ----
|
|
Karsten Hopp |
b8d7f4 |
vim_free(HI2SFT(hi));
|
|
Karsten Hopp |
b8d7f4 |
--todo;
|
|
Karsten Hopp |
b8d7f4 |
}
|
|
Karsten Hopp |
b8d7f4 |
+
|
|
Karsten Hopp |
b8d7f4 |
+ /* Clear the hashtable, it may also be used by another region. */
|
|
Karsten Hopp |
b8d7f4 |
hash_clear(&slang->sl_sounddone);
|
|
Karsten Hopp |
b8d7f4 |
+ hash_init(&slang->sl_sounddone);
|
|
Karsten Hopp |
b8d7f4 |
}
|
|
Karsten Hopp |
b8d7f4 |
}
|
|
Karsten Hopp |
b8d7f4 |
}
|
|
Karsten Hopp |
b8d7f4 |
*** ../vim-7.0.212/src/version.c Thu Mar 8 13:41:25 2007
|
|
Karsten Hopp |
b8d7f4 |
--- src/version.c Thu Mar 8 14:53:40 2007
|
|
Karsten Hopp |
b8d7f4 |
***************
|
|
Karsten Hopp |
b8d7f4 |
*** 668,669 ****
|
|
Karsten Hopp |
b8d7f4 |
--- 668,671 ----
|
|
Karsten Hopp |
b8d7f4 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
b8d7f4 |
+ /**/
|
|
Karsten Hopp |
b8d7f4 |
+ 213,
|
|
Karsten Hopp |
b8d7f4 |
/**/
|
|
Karsten Hopp |
b8d7f4 |
|
|
Karsten Hopp |
b8d7f4 |
--
|
|
Karsten Hopp |
b8d7f4 |
The software said it requires Windows 95 or better, so I installed Linux.
|
|
Karsten Hopp |
b8d7f4 |
|
|
Karsten Hopp |
b8d7f4 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
b8d7f4 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
b8d7f4 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
b8d7f4 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|