aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/indent_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/indent_c.c')
-rw-r--r--src/nvim/indent_c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/indent_c.c b/src/nvim/indent_c.c
index 8310f635c9..c0613331cf 100644
--- a/src/nvim/indent_c.c
+++ b/src/nvim/indent_c.c
@@ -136,7 +136,7 @@ bool cin_is_cinword(char_u *line)
}
}
- free(cinw_buf);
+ xfree(cinw_buf);
return retval;
}
@@ -1332,7 +1332,7 @@ void parse_cino(buf_T *buf)
char_u *l;
int divider;
int fraction = 0;
- int sw = (int)get_sw_value(buf);
+ int sw = get_sw_value(buf);
/*
* Set the default values.
@@ -3280,7 +3280,7 @@ theend:
/* put the cursor back where it belongs */
curwin->w_cursor = cur_curpos;
- free(linecopy);
+ xfree(linecopy);
if (amount < 0)
return 0;