aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/buffer.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-05-12 16:19:50 -0300
committerFelipe Oliveira Carvalho <felipekde@gmail.com>2014-05-19 14:50:26 -0300
commite303a11ebfc352860cce73184ece692ab4d0f01c (patch)
tree67a3e4b7a8d6633149f9d22f3f51cd96498aacd4 /src/nvim/api/buffer.c
parent7a830d945fb44a850b7cef65971f37a570a36e9e (diff)
downloadrneovim-e303a11ebfc352860cce73184ece692ab4d0f01c.tar.gz
rneovim-e303a11ebfc352860cce73184ece692ab4d0f01c.tar.bz2
rneovim-e303a11ebfc352860cce73184ece692ab4d0f01c.zip
Remove OOM checks: suggested changes in review
- Replace a vim_strsave/free pair with xrealloc - Use xmallocz() in some places - Use xrealloc() and forget about the NULL pointer case - Remove invalid comment - Remove unnecessary checks - Replace a complicated xmalloc/STRCPY/free code chunk code with xrealloc() - Replace a vim_strsave/free code chunk with xrealloc()
Diffstat (limited to 'src/nvim/api/buffer.c')
0 files changed, 0 insertions, 0 deletions