aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-04-15 22:12:31 +0200
committerGitHub <noreply@github.com>2017-04-15 22:12:31 +0200
commit5c805f4566384cbc76c88bfbffb8849498533529 (patch)
tree51ddf71326ebb6417edca00147216b9802b65dcb /src/nvim/ops.c
parentc70ab1a2e2d78832e0246bd64c53c8b92912f0ef (diff)
parentd76a13bb65574f4811313ada6454f7d34cde2a2c (diff)
downloadrneovim-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/ops.c')
-rw-r--r--src/nvim/ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index f11d6b69b2..5212ec45ab 100644
--- a/src/nvim/ops.c
+++ b/src/nvim/ops.c
@@ -802,7 +802,6 @@ static bool is_append_register(int regname)
/// Returns a copy of contents in register `name`
/// for use in do_put. Should be freed by caller.
yankreg_T *copy_register(int name)
- FUNC_ATTR_MALLOC
FUNC_ATTR_NONNULL_RET
{
yankreg_T *reg = get_yank_register(name, YREG_PASTE);