diff options
Diffstat (limited to 'src/indent.c')
-rw-r--r-- | src/indent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/indent.c b/src/indent.c index be4d56359e..3c38b4ec37 100644 --- a/src/indent.c +++ b/src/indent.c @@ -74,8 +74,7 @@ tabstop_set(char_u *var, int **array) if (n <= 0 || n > TABSTOP_MAX) { semsg(_(e_invalid_argument_str), cp); - vim_free(*array); - *array = NULL; + VIM_CLEAR(*array); return FAIL; } (*array)[t++] = n; |