aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/typval.h
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-10-09 19:40:50 +0200
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-03-30 21:55:50 -0400
commit4c76b1e981f072229944a22e5d5ee76fe42d994a (patch)
tree1db14e1ff707894bb8568d83efc0b77ba492d11e /src/nvim/eval/typval.h
parentc20ae3aadbcc1210faad4cd3cf6a8444f198b19d (diff)
downloadrneovim-4c76b1e981f072229944a22e5d5ee76fe42d994a.tar.gz
rneovim-4c76b1e981f072229944a22e5d5ee76fe42d994a.tar.bz2
rneovim-4c76b1e981f072229944a22e5d5ee76fe42d994a.zip
Test and initial fix for crash with dictwatcherdel
Fixes https://github.com/neovim/neovim/issues/11188.
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