summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-06-01 13:46:12 +0200
committerBram Moolenaar <Bram@vim.org>2012-06-01 13:46:12 +0200
commitd2aed44c77f165a23c495e5836bc33d3133fea2e (patch)
tree3b8281fe2af204309aec9cab868ecafb7dafa609 /src/undo.c
parent112f318551e342f19b6af18d1661f65138b41ba8 (diff)
downloadvim-git-d2aed44c77f165a23c495e5836bc33d3133fea2e.tar.gz
updated for version 7.3.533v7.3.533
Problem: Memory leak when writing undo file. Solution: Free the ACL. (Dominique Pelle)
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/undo.c b/src/undo.c
index d01ca9b85..ec06f3122 100644
--- 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