Fix the double free in verify_package_compatibility().

am: f978278995

Change-Id: I07547ecde6ad9cbbdd540ddc50e5273ead108e35
This commit is contained in:
Tao Bao
2017-04-17 19:31:38 +00:00
committed by android-build-merger
-1
View File
@@ -544,7 +544,6 @@ bool verify_package_compatibility(ZipArchiveHandle package_zip) {
}
compatibility_info.emplace_back(std::move(content));
}
EndIteration(cookie);
CloseArchive(zip_handle);
// TODO(b/36814503): Enable the actual verification when VintfObject::CheckCompatibility() lands.