• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit / 17292827390
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: patch-lcov-errors
DEFAULT BRANCH: main
Ran 28 Aug 2025 10:53AM UTC
Jobs 1
Files 855
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Aug 2025 10:15AM UTC coverage: 88.404% (-0.01%) from 88.418%
17292827390

push

github

web-flow
Fix: Memory leakage in `QkCountOps` creation. (#14930)

* Fix: Memory leakage in `QkCountOps` creation.
The following commits attempt to fix some memoery issues that the struct `QkOpCounts`. The `qk_opcounts_free` method would segfault if an empty object was passed. The function now checks whether the passed option includes a null pointer or an empty instance. The commits also change how the `data` attribute is generated without using `std::mem::forget`, but instead collection the `OpCount` vec into a boxed_slice and consuming it into a `Box`. Inspired by what was done for #14884.

* Docs: Add release note.

* Fix: Ironic memory leakage

* Fix c opcounts free suggestion (#7)

* Rename to _clear, free name

* rm dangling file

* use pointers

* ... forgot to register test

* fix `size_t`

* Fix: Missed some renaming

* add note on clearing opscount

* be explicit about loading Box<[OpCount]>

* fix merge artifact

* Apply suggestions from code review

Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

* goto

* happy miri happy life

* Fix merge artifacts

---------

Co-authored-by: Julien Gacon <gaconju@gmail.com>
Co-authored-by: Julien Gacon <jules.gacon@googlemail.com>
Co-authored-by: Eli Arbel <46826214+eliarbel@users.noreply.github.com>

90338 of 102188 relevant lines covered (88.4%)

486427.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 17292827390.1 28 Aug 2025 10:53AM UTC 0
88.4
GitHub Action Run
Source Files on build 17292827390
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #17292827390
  • 28aa4bda on github
  • Prev Build on gh-readonly-queue/main/pr-14710-ce16e1ac5372b35413bcc8ea9d17520c6922d92a (#17290062644)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc