diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-04-15 22:12:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-15 22:12:31 +0200 |
commit | 5c805f4566384cbc76c88bfbffb8849498533529 (patch) | |
tree | 51ddf71326ebb6417edca00147216b9802b65dcb /src/nvim/os/fileio.c | |
parent | c70ab1a2e2d78832e0246bd64c53c8b92912f0ef (diff) | |
parent | d76a13bb65574f4811313ada6454f7d34cde2a2c (diff) | |
download | rneovim-5c805f4566384cbc76c88bfbffb8849498533529.tar.gz rneovim-5c805f4566384cbc76c88bfbffb8849498533529.tar.bz2 rneovim-5c805f4566384cbc76c88bfbffb8849498533529.zip |
Merge #6528 from ZyX-I/revise-malloc-attr
Revise places where FUNC_ATTR_MALLOC is present
Closes #6521
Diffstat (limited to 'src/nvim/os/fileio.c')
-rw-r--r-- | src/nvim/os/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/fileio.c b/src/nvim/os/fileio.c index 4b7b53fc7f..3c47c66196 100644 --- a/src/nvim/os/fileio.c +++ b/src/nvim/os/fileio.c @@ -100,7 +100,7 @@ int file_open(FileDescriptor *const ret_fp, const char *const fname, /// @return [allocated] Opened file or NULL in case of error. FileDescriptor *file_open_new(int *const error, const char *const fname, const int flags, const int mode) - FUNC_ATTR_NONNULL_ALL FUNC_ATTR_MALLOC FUNC_ATTR_WARN_UNUSED_RESULT + FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT { FileDescriptor *const fp = xmalloc(sizeof(*fp)); if ((*error = file_open(fp, fname, flags, mode)) != 0) { |