aboutsummaryrefslogtreecommitdiff
path: root/src/os/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/fs.c')
-rw-r--r--src/os/fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/fs.c b/src/os/fs.c
index f9b02375e1..e03d06669d 100644
--- a/src/os/fs.c
+++ b/src/os/fs.c
@@ -106,13 +106,13 @@ static bool is_executable_in_path(const char_u *name)
if (is_executable(buf)) {
// Found our executable. Free buf and return.
- vim_free(buf);
+ free(buf);
return true;
}
if (*e != ':') {
// End of $PATH without finding any executable called name.
- vim_free(buf);
+ free(buf);
return false;
}