diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-01 13:46:12 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-01 13:46:12 +0200 |
commit | d2aed44c77f165a23c495e5836bc33d3133fea2e (patch) | |
tree | 3b8281fe2af204309aec9cab868ecafb7dafa609 | |
parent | 112f318551e342f19b6af18d1661f65138b41ba8 (diff) | |
download | vim-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)
-rw-r--r-- | src/undo.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 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 diff --git a/src/version.c b/src/version.c index 68f5803de..13c59e208 100644 --- 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, |