aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/typval.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-03-31 19:22:11 -0400
committerGitHub <noreply@github.com>2021-03-31 19:22:11 -0400
commita177820420d3de1614bff01321c0a54a2327fab3 (patch)
tree54a2ea52ae7ca218f96416ba1ebebd09f10063ba /src/nvim/eval/typval.h
parentd55a69168f0ede6021ffe43dd8c059a350502dbc (diff)
parent5e4fb9a7dd9392cc59ab6b4f03a9f266c048b86c (diff)
downloadrneovim-a177820420d3de1614bff01321c0a54a2327fab3.tar.gz
rneovim-a177820420d3de1614bff01321c0a54a2327fab3.tar.bz2
rneovim-a177820420d3de1614bff01321c0a54a2327fab3.zip
Merge pull request #14259 from janlazo/fix-dictwatcherdel-crash
Fix dictwatcherdel crash
Diffstat (limited to 'src/nvim/eval/typval.h')
-rw-r--r--src/nvim/eval/typval.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval/typval.h b/src/nvim/eval/typval.h
index 531b17cb59..2b4612016b 100644
--- a/src/nvim/eval/typval.h
+++ b/src/nvim/eval/typval.h
@@ -89,6 +89,7 @@ typedef struct dict_watcher {
size_t key_pattern_len;
QUEUE node;
bool busy; // prevent recursion if the dict is changed in the callback
+ bool needs_free;
} DictWatcher;
/// Bool variable values