aboutsummaryrefslogtreecommitdiff
path: root/src/os/fs.c
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2014-04-29 16:16:51 +0200
committerJustin M. Keyes <justinkz@gmail.com>2014-05-05 18:38:52 -0400
commitf9d4c78ddcd99efeeb4e4e44b7bd0b6e34889db3 (patch)
treeba74eb6c3bdb2d172e58f16c0bffff200ecb25c5 /src/os/fs.c
parentc5cac800e7b63d175f7da9462804d7f250f1e23a (diff)
downloadrneovim-f9d4c78ddcd99efeeb4e4e44b7bd0b6e34889db3.tar.gz
rneovim-f9d4c78ddcd99efeeb4e4e44b7bd0b6e34889db3.tar.bz2
rneovim-f9d4c78ddcd99efeeb4e4e44b7bd0b6e34889db3.zip
replaced `vim_free()` calls with `free()` calls
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;
}