From 4c76b1e981f072229944a22e5d5ee76fe42d994a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 9 Oct 2019 19:40:50 +0200 Subject: Test and initial fix for crash with dictwatcherdel Fixes https://github.com/neovim/neovim/issues/11188. --- src/nvim/eval/typval.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/eval/typval.h') 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 -- cgit