vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 53269983ee030417df232d37914f7603ad159005
parent c03ba17281b6722efd57d537bd3d0452ca50e4bf
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Thu,  6 Apr 2017 21:48:28 +0200

vis: fix memory leak in selection rotation code

Diffstat:
Mmain.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -1560,6 +1560,7 @@ static const char *selections_rotate(Vis *vis, const char *keys, const Arg *arg) line = line_next; } + array_release(&arr); vis_count_set(vis, VIS_COUNT_UNKNOWN); return keys; }