aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/mod_storage_internal.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_storage_internal.lua b/plugins/mod_storage_internal.lua
index da562201..26dd6a0e 100644
--- a/plugins/mod_storage_internal.lua
+++ b/plugins/mod_storage_internal.lua
@@ -258,6 +258,7 @@ function archive:find(username, query)
return function()
local item = iter();
if item == nil then
+ list:close();
return
end
local key = item.key;