journal-remote: fix memleak of the name of the remote source

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-05-19 11:40:56 -04:00
parent 731e10f3c5
commit 2ddb70d26f
2 changed files with 2 additions and 1 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);
}