# HG changeset patch # User Bram Moolenaar # Date 1338551172 -7200 # Node ID 74d51b51f3e69df7d3295255ee10391b3409055b # Parent 98233587fa28d5fc337bd57ac21478d669ee1797 updated for version 7.3.533 Problem: Memory leak when writing undo file. Solution: Free the ACL. (Dominique Pelle) diff --git a/src/undo.c b/src/undo.c --- 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 diff --git a/src/version.c b/src/version.c --- 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,