diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2019-08-23 10:31:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-23 10:31:35 +0200 |
| commit | 79ea7709b7cab13b89d98088f4733a354a7f2a54 (patch) | |
| tree | 2c5c0bb0f9e44e96c5d8fce7d2772af8d8041bbe /src/nvim/eval | |
| parent | c6eb1f42bec06e92c2c5ee9a523af4e46ac05083 (diff) | |
| parent | 71378a40308cd987626ebccb5882897d41c86c7a (diff) | |
| download | rneovim-79ea7709b7cab13b89d98088f4733a354a7f2a54.tar.gz rneovim-79ea7709b7cab13b89d98088f4733a354a7f2a54.tar.bz2 rneovim-79ea7709b7cab13b89d98088f4733a354a7f2a54.zip | |
Merge #9163 'fix crash wiping buffer after getbufinfo()'
Diffstat (limited to 'src/nvim/eval')
| -rw-r--r-- | src/nvim/eval/typval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval/typval.c b/src/nvim/eval/typval.c index 91a1d083c7..106b8f6eed 100644 --- a/src/nvim/eval/typval.c +++ b/src/nvim/eval/typval.c @@ -1272,7 +1272,7 @@ void tv_dict_item_free(dictitem_T *const item) /// @param[in] di Item to copy. /// /// @return [allocated] new dictionary item. -static dictitem_T *tv_dict_item_copy(dictitem_T *const di) +dictitem_T *tv_dict_item_copy(dictitem_T *const di) FUNC_ATTR_NONNULL_RET FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT { dictitem_T *const new_di = tv_dict_item_alloc((const char *)di->di_key); |