commit | d2aed44c77f165a23c495e5836bc33d3133fea2e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Jun 01 13:46:12 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Jun 01 13:46:12 2012 +0200 |
tree | 3b8281fe2af204309aec9cab868ecafb7dafa609 | |
parent | 112f318551e342f19b6af18d1661f65138b41ba8 [diff] [blame] |
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 index d01ca9b..ec06f31 100644 --- a/src/undo.c +++ b/src/undo.c
@@ -1535,6 +1535,7 @@ /* 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