summaryrefslogtreecommitdiffstats
path: root/src/vim9.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-03-20 18:39:46 +0100
committerBram Moolenaar <Bram@vim.org>2020-03-20 18:39:46 +0100
commit20431c9dbb592ebe0666bf042af7d2b373107372 (patch)
tree6cff691f11db2432b46a3c979ba23f95e0ca41dc /src/vim9.h
parent8b633135106dda8605463b780573c45b00c22afe (diff)
patch 8.2.0419: various memory leaks in Vim9 script codev8.2.0419
Problem: Various memory leaks in Vim9 script code. Solution: Fix the leaks. (Ozaki Kiichi, closes #5814)
Diffstat (limited to 'src/vim9.h')
-rw-r--r--src/vim9.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vim9.h b/src/vim9.h
index 38286b32a1..ffa09a727d 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -203,7 +203,7 @@ typedef struct {
/*
* Instruction
*/
-typedef struct {
+struct isn_S {
isntype_T isn_type;
int isn_lnum;
union {
@@ -231,7 +231,7 @@ typedef struct {
loadstore_T loadstore;
script_T script;
} isn_arg;
-} isn_T;
+};
/*
* Info about a function defined with :def. Used in "def_functions".