From f9d4c78ddcd99efeeb4e4e44b7bd0b6e34889db3 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 29 Apr 2014 16:16:51 +0200 Subject: replaced `vim_free()` calls with `free()` calls --- src/ui.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 7e656bd1ce..4678416200 100644 --- a/src/ui.c +++ b/src/ui.c @@ -56,7 +56,7 @@ void ui_write(char_u *s, int len) mch_write(s, len); if (output_conv.vc_type != CONV_NONE) - vim_free(tofree); + free(tofree); } #endif } @@ -298,9 +298,9 @@ void set_input_buf(char_u *p) if (gap->ga_data != NULL) { memmove(inbuf, gap->ga_data, gap->ga_len); inbufcount = gap->ga_len; - vim_free(gap->ga_data); + free(gap->ga_data); } - vim_free(gap); + free(gap); } } @@ -411,7 +411,7 @@ void fill_input_buf(int exit_on_error) unconverted = restlen; memmove(inbuf + inbufcount, rest, unconverted); if (unconverted == restlen) { - vim_free(rest); + free(rest); rest = NULL; } else { restlen -= unconverted; -- cgit