Patch 8.1.1515

10 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 10, 2019, 8:49:22 AM6/10/19
to vim...@googlegroups.com

Patch 8.1.1515
Problem: Memory leak reported for sound when build with EXITFREE.
Solution: Free sound stuff when exiting.
Files: src/misc2.c


*** ../vim-8.1.1514/src/misc2.c 2019-06-10 14:45:55.611307107 +0200
--- src/misc2.c 2019-06-10 14:38:30.888516332 +0200
***************
*** 1247,1252 ****
--- 1247,1255 ----
/* screenlines (can't display anything now!) */
free_screenlines();

+ # if defined(FEAT_SOUND)
+ sound_free();
+ # endif
# if defined(USE_XSMP)
xsmp_close();
# endif
*** ../vim-8.1.1514/src/version.c 2019-06-10 14:45:55.611307107 +0200
--- src/version.c 2019-06-10 14:48:31.982799255 +0200
***************
*** 779,780 ****
--- 779,782 ----
{ /* Add new patch number below this line */
+ /**/
+ 1515,
/**/

--
Fingers not found - Pound head on keyboard to continue.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages