Merge "Fix the double free in verify_package_compatibility()."

This commit is contained in:
Tao Bao
2017-04-18 03:21:07 +00:00
committed by Gerrit Code Review

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.