diff options
| author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-28 08:42:03 -0300 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-05-28 08:52:54 -0300 |
| commit | 48ac06506ba64f21e59e0120ca87759ddb85efd0 (patch) | |
| tree | 7b8cc67dd95fb5b99970e611f9cdf63ed95a2bf0 | |
| parent | 89ded2dac84c901cc1af697e134243c10c623a73 (diff) | |
| download | rneovim-48ac06506ba64f21e59e0120ca87759ddb85efd0.tar.gz rneovim-48ac06506ba64f21e59e0120ca87759ddb85efd0.tar.bz2 rneovim-48ac06506ba64f21e59e0120ca87759ddb85efd0.zip | |
API: Bugfix: Remove possible double-free in buffer_get_line
| -rw-r--r-- | src/nvim/api/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/buffer.c b/src/nvim/api/buffer.c index 4721045048..d2b4cafaac 100644 --- a/src/nvim/api/buffer.c +++ b/src/nvim/api/buffer.c @@ -121,6 +121,7 @@ end: } free(rv.items); + rv.items = NULL; } return rv; |
