Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b781d9a authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Fix the double free in verify_package_compatibility().

am: f9782789

Change-Id: I07547ecde6ad9cbbdd540ddc50e5273ead108e35
parents 91eeb9b5 f9782789
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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.