|
Karsten Hopp |
af6abb |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
af6abb |
Subject: Patch 7.3.533
|
|
Karsten Hopp |
af6abb |
Fcc: outbox
|
|
Karsten Hopp |
af6abb |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
af6abb |
Mime-Version: 1.0
|
|
Karsten Hopp |
af6abb |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
af6abb |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
af6abb |
------------
|
|
Karsten Hopp |
af6abb |
|
|
Karsten Hopp |
af6abb |
Patch 7.3.533
|
|
Karsten Hopp |
af6abb |
Problem: Memory leak when writing undo file.
|
|
Karsten Hopp |
af6abb |
Solution: Free the ACL. (Dominique Pelle)
|
|
Karsten Hopp |
af6abb |
Files: src/undo.c
|
|
Karsten Hopp |
af6abb |
|
|
Karsten Hopp |
af6abb |
|
|
Karsten Hopp |
af6abb |
*** ../vim-7.3.532/src/undo.c 2011-12-08 15:14:04.000000000 +0100
|
|
Karsten Hopp |
af6abb |
--- src/undo.c 2012-06-01 13:38:42.000000000 +0200
|
|
Karsten Hopp |
af6abb |
***************
|
|
Karsten Hopp |
af6abb |
*** 1535,1540 ****
|
|
Karsten Hopp |
af6abb |
--- 1535,1541 ----
|
|
Karsten Hopp |
af6abb |
/* For systems that support ACL: get the ACL from the original file. */
|
|
Karsten Hopp |
af6abb |
acl = mch_get_acl(buf->b_ffname);
|
|
Karsten Hopp |
af6abb |
mch_set_acl(file_name, acl);
|
|
Karsten Hopp |
af6abb |
+ mch_free_acl(acl);
|
|
Karsten Hopp |
af6abb |
}
|
|
Karsten Hopp |
af6abb |
#endif
|
|
Karsten Hopp |
af6abb |
|
|
Karsten Hopp |
af6abb |
*** ../vim-7.3.532/src/version.c 2012-06-01 13:18:48.000000000 +0200
|
|
Karsten Hopp |
af6abb |
--- src/version.c 2012-06-01 13:39:16.000000000 +0200
|
|
Karsten Hopp |
af6abb |
***************
|
|
Karsten Hopp |
af6abb |
*** 716,717 ****
|
|
Karsten Hopp |
af6abb |
--- 716,719 ----
|
|
Karsten Hopp |
af6abb |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
af6abb |
+ /**/
|
|
Karsten Hopp |
af6abb |
+ 533,
|
|
Karsten Hopp |
af6abb |
/**/
|
|
Karsten Hopp |
af6abb |
|
|
Karsten Hopp |
af6abb |
--
|
|
Karsten Hopp |
af6abb |
"How is your new girlfriend?"
|
|
Karsten Hopp |
af6abb |
"90-60-90 man!"
|
|
Karsten Hopp |
af6abb |
"What, pale purple?"
|
|
Karsten Hopp |
af6abb |
|
|
Karsten Hopp |
af6abb |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
af6abb |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
af6abb |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
af6abb |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|