Patch 8.0.0214 Problem: Leaking memory when syntax cluster id is unknown. (Coverity) Solution: Free the memory. Files: src/syntax.c
*** ../vim-8.0.0213/src/syntax.c 2017-01-17 19:48:48.132511120 +0100 --- src/syntax.c 2017-01-22 15:24:16.324723771 +0100 *************** *** 5668,5673 **** --- 5668,5675 ---- if (scl_id >= 0) syn_combine_list(&SYN_CLSTR(curwin->w_s)[scl_id].scl_list, &clstr_list, list_op); + else + vim_free(clstr_list); got_clstr = TRUE; } *************** *** 6034,6040 **** } if (count != 0) { ! EMSG2(_("E408: %s must be first in contains list"), name + 1); failed = TRUE; vim_free(name); break; --- 6036,6043 ---- } if (count != 0) { ! EMSG2(_("E408: %s must be first in contains list"), ! name + 1); failed = TRUE; vim_free(name); break; *** ../vim-8.0.0213/src/version.c 2017-01-22 15:19:16.814623922 +0100 --- src/version.c 2017-01-22 15:25:45.504158117 +0100 *************** *** 766,767 **** --- 766,769 ---- { /* Add new patch number below this line */ + /**/ + 214, /**/ -- Yah, well, we had to carve our electrons out of driftwood we'd find. In the winter. Uphill. Both ways. /// Bram Moolenaar -- b...@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 /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.