aboutsummaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-04-11 10:24:51 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-04-11 10:26:20 +0200
commit9ae7a429320e7db76743448e7f3b216003de8755 (patch)
tree79bbda22b2f748613b6ac8b65a761d641654137d /editor.c
parentb7fb06da2364bdee1d224cbc5cb7afd8b402248e (diff)
downloadvis-9ae7a429320e7db76743448e7f3b216003de8755.tar.gz
vis-9ae7a429320e7db76743448e7f3b216003de8755.tar.xz
Lazy initialization of :-commands
Diffstat (limited to 'editor.c')
-rw-r--r--editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor.c b/editor.c
index 4b9b47e..70b8066 100644
--- a/editor.c
+++ b/editor.c
@@ -409,6 +409,7 @@ void editor_free(Editor *ed) {
register_free(&ed->registers[i]);
editor_syntax_unload(ed);
ed->ui->free(ed->ui);
+ map_free(ed->cmds);
free(ed);
}