0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.1515: memory leak reported for sound when build with EXITFREE

Problem:    Memory leak reported for sound when build with EXITFREE.
Solution:   Free sound stuff when exiting.
This commit is contained in:
Bram Moolenaar
2019-06-10 14:48:59 +02:00
parent 01257a7a8e
commit 82febc16e4
2 changed files with 5 additions and 0 deletions

View File

@@ -1247,6 +1247,9 @@ free_all_mem(void)
/* screenlines (can't display anything now!) */
free_screenlines();
# if defined(FEAT_SOUND)
sound_free();
# endif
# if defined(USE_XSMP)
xsmp_close();
# endif

View File

@@ -777,6 +777,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1515,
/**/
1514,
/**/