• Max Kellermann's avatar
    archive: close archive when stream is closed · 3411f6cf
    Max Kellermann authored
    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.
    3411f6cf
archive_api.h 2.65 KB