aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2014-09-09 09:53:46 +0200
committerMarc André Tanner <mat@brain-dump.org>2014-09-09 10:10:37 +0200
commitfac398accd9ef50cab9e89844964389cd48abe86 (patch)
tree0bae75abc6e19ee65089e42cd98a18a18ae9359c /vis.h
parentcfc447cff743d286b38aa3c686f297305148a202 (diff)
downloadvis-fac398accd9ef50cab9e89844964389cd48abe86.tar.gz
vis-fac398accd9ef50cab9e89844964389cd48abe86.tar.xz
Fix a few memory leaks
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h2
1 files changed, 2 insertions, 0 deletions
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*);