Fix memory leak with virtual files in parse.c

This commit is contained in:
2020-03-06 09:36:07 -05:00
parent cfdd7bdd87
commit 02fa3f02f5
6 changed files with 33 additions and 7 deletions

View File

@@ -193,6 +193,8 @@ void write_document(document_t *doc) {
void thread_cleanup() {
close(index_fd);
cleanup_parse();
cleanup_font();
}