Fix the double free in verify_package_compatibility(). am: f978278995

am: 7b781d9a40

Change-Id: I2053bb1754febb22dc20cde4fe6ebced45e16ad1
This commit is contained in:
Tao Bao
2017-04-17 19:41:53 +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.