archive: close archive when stream is closed

Fixes a memory leak: the "archive" input plugin opens the archive, but
never closes it.  This patch moves the responsibility for doing that
to archive_plugin.open_stream().  This is an slight internal API
change, but it is the simplest and least intrusive fix for the memory
leak.
This commit is contained in:
Max Kellermann
2009-12-15 19:45:50 +01:00
parent 6c0f50efb5
commit 3411f6cffd
5 changed files with 11 additions and 0 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.15.7 (2009/??/??)
* archive:
- close archive when stream is closed
* input:
- file: don't fall back to parent directory
- archive: fixed memory leak in error handler