vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 407f32ddf8860e57aea41d40565171ab60d09169 parent 6456a5dcddc3f4fae1b50e167028e7d67b3edb58 Author: Virgile Andreani <virgile.andreani@anbuco.fr> Date: Mon, 2 Nov 2015 17:24:45 +0100 vis: free input_queue at exit Diffstat:
| M | vis.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/vis.c b/vis.c @@ -560,6 +560,7 @@ void vis_free(Vis *vis) { map_free(vis->cmds); map_free(vis->options); map_free(vis->actions); + buffer_release(&vis->input_queue); for (int i = 0; i < VIS_MODE_LAST; i++) { Mode *mode = &vis_modes[i]; map_free(mode->bindings);