Mercurial > vim
comparison src/version.c @ 15304:5bfdce4de97f v8.1.0660
patch 8.1.0660: sign_cleanup() may leak memory
commit https://github.com/vim/vim/commit/1ea88a3e12e5f6afc5353cd0d6e6d4f4a89ced94
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 29 21:00:27 2018 +0100
patch 8.1.0660: sign_cleanup() may leak memory
Problem: sign_cleanup() may leak memory.
Solution: Free the group name before returning. Add a few more tests.
(Yegappan Lakshmanan)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 Dec 2018 21:15:05 +0100 |
parents | 7f42b06b2f72 |
children | 7fff2d18e191 |
comparison
equal
deleted
inserted
replaced
15303:6d4c7811e078 | 15304:5bfdce4de97f |
---|---|
797 NULL | 797 NULL |
798 }; | 798 }; |
799 | 799 |
800 static int included_patches[] = | 800 static int included_patches[] = |
801 { /* Add new patch number below this line */ | 801 { /* Add new patch number below this line */ |
802 /**/ | |
803 660, | |
802 /**/ | 804 /**/ |
803 659, | 805 659, |
804 /**/ | 806 /**/ |
805 658, | 807 658, |
806 /**/ | 808 /**/ |