commit | c97b08b77d18e50a82811c9c26d08dc679b0a5b1 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Aug 12 17:39:49 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Mon Aug 12 17:39:49 2019 -0700 |
tree | 73a6f1b7448b85688477083ee0f71eda94e737fd | |
parent | 1d40665012f1b3c1c0a117d4890ced89138f0780 [diff] | |
parent | 7d71de036919838b3931ff180e64c3ba9f21eb13 [diff] |
Merge "installd_dexopt_test: fix close of owned file descriptor." am: 3a2607a504 am: 01385af887 am: e6dd7153db am: 7d71de0369 Change-Id: I9386159901adc5210fb9a703b9499055e71e0863
diff --git a/cmds/installd/tests/installd_dexopt_test.cpp b/cmds/installd/tests/installd_dexopt_test.cpp index 73780ec..0212bc5 100644 --- a/cmds/installd/tests/installd_dexopt_test.cpp +++ b/cmds/installd/tests/installd_dexopt_test.cpp
@@ -275,7 +275,7 @@ writer.StartEntry("primary.prof", ZipWriter::kCompress); writer.FinishEntry(); writer.Finish(); - close(fd); + fclose(file); } // Create the app user data.