From fac398accd9ef50cab9e89844964389cd48abe86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Tue, 9 Sep 2014 09:53:46 +0200 Subject: Fix a few memory leaks --- vis.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vis.h') diff --git a/vis.h b/vis.h index b7272b4..1dc7f7d 100644 --- a/vis.h +++ b/vis.h @@ -59,6 +59,7 @@ struct Vis { Regex *search_pattern; void (*windows_arrange)(Vis*); /* current layout which places the windows */ vis_statusbar_t statusbar; /* configurable user hook to draw statusbar */ + bool running; }; @@ -102,6 +103,7 @@ bool vis_syntax_load(Vis*, Syntax *syntaxes, Color *colors); void vis_syntax_unload(Vis*); bool vis_window_new(Vis*, const char *filename); +void vis_window_close(Vis *vis); void vis_window_split(Vis*, const char *filename); void vis_window_vsplit(Vis*, const char *filename); void vis_window_next(Vis*); -- cgit v1.2.3