diff --git a/builtins.go b/builtins.go index a34001a7..6ab5198d 100644 --- a/builtins.go +++ b/builtins.go @@ -294,5 +294,6 @@ func compileBuiltins(target string, callback func(path string) error) error { // Give the caller the resulting file. The callback must copy the file, // because after it returns the temporary directory will be removed. + arfile.Close() return callback(arpath) }