mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
API: Bugfix: Remove possible double-free in buffer_get_line
This commit is contained in:
@@ -121,6 +121,7 @@ end:
|
||||
}
|
||||
|
||||
free(rv.items);
|
||||
rv.items = NULL;
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
Reference in New Issue
Block a user