From 40d821354a5d8e9ee6c0876a4a261819b0c3e7c4 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 2 Apr 2009 13:39:52 +0200 Subject: [PATCH] awful.prompt: close file after reading Signed-off-by: Julien Danjou --- lib/awful/prompt.lua.in | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/awful/prompt.lua.in b/lib/awful/prompt.lua.in index 18b1fd674..b0d54e78f 100644 --- a/lib/awful/prompt.lua.in +++ b/lib/awful/prompt.lua.in @@ -46,6 +46,7 @@ local function history_check_load(id, max) break end end + f:close() end end end