changeset 3545:74d51b51f3e6 v7.3.533

updated for version 7.3.533 Problem: Memory leak when writing undo file. Solution: Free the ACL. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Fri, 01 Jun 2012 13:46:12 +0200
parents 98233587fa28
children ca491641ac81
files src/undo.c src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/undo.c
+++ b/src/undo.c
@@ -1535,6 +1535,7 @@ write_error:
 	/* For systems that support ACL: get the ACL from the original file. */
 	acl = mch_get_acl(buf->b_ffname);
 	mch_set_acl(file_name, acl);
+	mch_free_acl(acl);
     }
 #endif
 
--- a/src/version.c
+++ b/src/version.c
@@ -715,6 +715,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    533,
+/**/
     532,
 /**/
     531,