diff options
Diffstat (limited to 'src/map.c')
-rw-r--r-- | src/map.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2574,7 +2574,10 @@ f_maplist(typval_T *argvars UNUSED, typval_T *rettv) if ((d = dict_alloc()) == NULL) return; if (list_append_dict(rettv->vval.v_list, d) == FAIL) + { + dict_unref(d); return; + } keys_buf = NULL; did_simplify = FALSE; |