diff options
author | Pixel <pixel@nobis-crew.org> | 2009-12-23 18:38:08 +0100 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-12-23 18:38:08 +0100 |
commit | c050ff847539caa3c227ae5f703a3ca178b9979e (patch) | |
tree | 02cf9a6803972bac13104e6b1787fa003ee6b58f /dalos-luafilter.lua | |
parent | c36c9d0a335f9dffd1baddced837557b4a669a79 (diff) |
Trying to be a little bit nicer with the ressources.
Diffstat (limited to 'dalos-luafilter.lua')
-rw-r--r-- | dalos-luafilter.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dalos-luafilter.lua b/dalos-luafilter.lua index 0abf40a..c0b307e 100644 --- a/dalos-luafilter.lua +++ b/dalos-luafilter.lua @@ -96,6 +96,7 @@ end local s, v = pcall(Input, dlg.value) if not s then error("Problem loading file " .. dlg.value) end local f = preload(v) + v:destroy() if not f then error("Syntax error loading file " .. dlg.value) end local data, otype, tname = f() if otype ~= "Lua Filter" then error("Wrong template type: " .. otype) end |