diff options
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 7d21086fd4..3cc66f938b 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -3139,9 +3139,7 @@ ambw_end: if (errmsg == NULL) { long *oldarray = curbuf->b_p_vsts_array; if (tabstop_set(*varp, &(curbuf->b_p_vsts_array))) { - if (oldarray) { - xfree(oldarray); - } + xfree(oldarray); } else { errmsg = e_invarg; } |