mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
vim-patch:8.2.1049: Vim9: leaking memory when using continuation line
Problem: Vim9: leaking memory when using continuation line. Solution: Keep a pointer to the continuation line in evalarg_T. Centralize checking for a next command.b171fb1790
Omit eval_next_line(): Vim9 script only. vim-patch:8.2.1050: missing change in struct Problem: Missing change in struct. Solution: Add missing change.65a8ed37f7
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -185,6 +185,7 @@ struct exarg {
|
||||
char *nextcmd; ///< next command (NULL if none)
|
||||
char *cmd; ///< the name of the command (except for :make)
|
||||
char **cmdlinep; ///< pointer to pointer of allocated cmdline
|
||||
char *cmdline_tofree; ///< free later
|
||||
cmdidx_T cmdidx; ///< the index for the command
|
||||
uint32_t argt; ///< flags for the command
|
||||
int skip; ///< don't execute the command, only parse it
|
||||
|
Reference in New Issue
Block a user