commit | 2ce4e6fc578f14f3b1514ef6518551801b49c10f | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Mon Jul 04 16:34:56 2016 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Mon Jul 04 17:13:23 2016 +0200 |
tree | 2faccea43938c49baf8537426e593d4a833b0f9c | |
parent | 2643cb08e91875f949188f9b3cc3bd0004b42c50 [diff] |
Fix resource leak in tests. Change-Id: I14faea81a7c14d39b9bb6e07d1b1dce4dcf3183d
diff --git a/fs/gitilesfs_test.go b/fs/gitilesfs_test.go index 35f5865..bd53d25 100644 --- a/fs/gitilesfs_test.go +++ b/fs/gitilesfs_test.go
@@ -428,6 +428,7 @@ if err != nil { t.Fatalf("newManifestTestFixture: %v", err) } + defer fix.cleanup() fs := fix.root.(*manifestFSRoot) ch := fs.Inode()