]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.533 v7.3.533
authorBram Moolenaar <Bram@vim.org>
Fri, 1 Jun 2012 11:46:12 +0000 (13:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 1 Jun 2012 11:46:12 +0000 (13:46 +0200)
Problem:    Memory leak when writing undo file.
Solution:   Free the ACL. (Dominique Pelle)

src/undo.c
src/version.c

index d01ca9b85f5fb007a061c097636236bb05b26063..ec06f3122cd5f24a83bdd1004a965ba3135d7060 100644 (file)
@@ -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
 
index 68f5803de7f3d4342e183a70b9a5911febe717aa..13c59e2087f0a9f247354d05a489eebcb783d1a4 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    533,
 /**/
     532,
 /**/