diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-01-05 13:16:04 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-05 13:16:04 +0000 |
commit | cf760d50dceb46bd583321c210b88b92360eb959 (patch) | |
tree | 83c8681eebf2582148de2c4e98fc022a4a5b7f0f /src/structs.h | |
parent | 2468add0b88849997e6349e7a0b997be133c022d (diff) |
patch 9.0.1149: class members may be garbage collectedv9.0.1149
Problem: Class members may be garbage collected.
Solution: Mark class members as being in use.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 50260aeff2..5b3f566dcb 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1487,6 +1487,7 @@ struct class_S { char_u *class_name; // allocated int class_refcount; + int class_copyID; // used by garbage collection // class members: "static varname" int class_class_member_count; |