Mercurial > vim
comparison src/version.c @ 18201:2ec4ed3f5e12 v8.1.2095
patch 8.1.2095: leaking memory when getting item from dict
Commit: https://github.com/vim/vim/commit/a893194d91a2942d4d54085d746ed137a9251b69
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 28 17:25:10 2019 +0200
patch 8.1.2095: leaking memory when getting item from dict
Problem: Leaking memory when getting item from dict.
Solution: Also free the key when not evaluating.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Sep 2019 17:30:03 +0200 |
parents | e2be5a6485f5 |
children | e0ec4cd7a865 |
comparison
equal
deleted
inserted
replaced
18200:d953ad50f7e5 | 18201:2ec4ed3f5e12 |
---|---|
755 NULL | 755 NULL |
756 }; | 756 }; |
757 | 757 |
758 static int included_patches[] = | 758 static int included_patches[] = |
759 { /* Add new patch number below this line */ | 759 { /* Add new patch number below this line */ |
760 /**/ | |
761 2095, | |
760 /**/ | 762 /**/ |
761 2094, | 763 2094, |
762 /**/ | 764 /**/ |
763 2093, | 765 2093, |
764 /**/ | 766 /**/ |