From 3411f6cffdcf3c72e7cee3a263c40414dfef956e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 15 Dec 2009 19:45:50 +0100 Subject: 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. --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 6bcf328f8..7ead1f16e 100644 --- a/NEWS +++ b/NEWS @@ -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 -- cgit v1.2.3