summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Josh Gao <jmgao@google.com> 2019-08-12 16:34:12 -0700
committer android-build-merger <android-build-merger@google.com> 2019-08-12 16:34:12 -0700
commit01385af887d9a85677071c8c892ad6ce2f202762 (patch)
treeaefc7f352917f0042bff1f2b522b699960cf1a10
parent0c8cebf318432654313167711d1a9a1b16cfa866 (diff)
parent3a2607a5047fe873e939b6e945f2d54ea89b05bd (diff)
Merge "installd_dexopt_test: fix close of owned file descriptor."
am: 3a2607a504 Change-Id: Ib33ee6f6c4a3364287e52f46d2d1d3304011a6fa
-rw-r--r--cmds/installd/tests/installd_dexopt_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/installd/tests/installd_dexopt_test.cpp b/cmds/installd/tests/installd_dexopt_test.cpp
index 73780eccbf..0212bc5564 100644
--- a/cmds/installd/tests/installd_dexopt_test.cpp
+++ b/cmds/installd/tests/installd_dexopt_test.cpp
@@ -275,7 +275,7 @@ protected:
writer.StartEntry("primary.prof", ZipWriter::kCompress);
writer.FinishEntry();
writer.Finish();
- close(fd);
+ fclose(file);
}
// Create the app user data.