summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c
index 1a82a3407..e75a2a741 100644
--- a/src/list.c
+++ b/src/list.c
@@ -867,6 +867,7 @@ list_concat(list_T *l1, list_T *l2, typval_T *tv)
if (l == NULL)
return FAIL;
tv->v_type = VAR_LIST;
+ tv->v_lock = 0;
tv->vval.v_list = l;
if (l1 == NULL)
++l->lv_refcount;