comparison src/undo.c @ 3545:74d51b51f3e6 v7.3.533

updated for version 7.3.533 Problem: Memory leak when writing undo file. Solution: Free the ACL. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Fri, 01 Jun 2012 13:46:12 +0200
parents 972bd3fca556
children b7eea2409507
comparison
equal deleted inserted replaced
3544:98233587fa28 3545:74d51b51f3e6
1533 vim_acl_T acl; 1533 vim_acl_T acl;
1534 1534
1535 /* For systems that support ACL: get the ACL from the original file. */ 1535 /* For systems that support ACL: get the ACL from the original file. */
1536 acl = mch_get_acl(buf->b_ffname); 1536 acl = mch_get_acl(buf->b_ffname);
1537 mch_set_acl(file_name, acl); 1537 mch_set_acl(file_name, acl);
1538 mch_free_acl(acl);
1538 } 1539 }
1539 #endif 1540 #endif
1540 1541
1541 theend: 1542 theend:
1542 #ifdef FEAT_CRYPT 1543 #ifdef FEAT_CRYPT