mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 21:38:19 +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);
|
free(rv.items);
|
||||||
|
rv.items = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return rv;
|
return rv;
|
||||||
|
Reference in New Issue
Block a user