Merge pull request #5960 from keszybz/journald-memleak

Journald and journal-remote memleak fixes
This commit is contained in:
Evgeny Vereshchagin
2017-05-21 01:41:48 +03:00
committed by GitHub
6 changed files with 129 additions and 91 deletions
+1
View File
@@ -69,6 +69,7 @@ void journal_importer_cleanup(JournalImporter *imp) {
safe_close(imp->fd);
}
free(imp->name);
free(imp->buf);
iovw_free_contents(&imp->iovw);
}