diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-09 09:53:46 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-09 10:10:37 +0200 |
| commit | fac398accd9ef50cab9e89844964389cd48abe86 (patch) | |
| tree | 0bae75abc6e19ee65089e42cd98a18a18ae9359c /vis.h | |
| parent | cfc447cff743d286b38aa3c686f297305148a202 (diff) | |
| download | vis-fac398accd9ef50cab9e89844964389cd48abe86.tar.gz vis-fac398accd9ef50cab9e89844964389cd48abe86.tar.xz | |
Fix a few memory leaks
Diffstat (limited to 'vis.h')
| -rw-r--r-- | vis.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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*); |
