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

extphprs / ext-php-rs / 23742596401 / 1
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: feat/issue-199-primitive-union-types
DEFAULT BRANCH: master
Ran 30 Mar 2026 11:35AM UTC
Files 89
Run time 3s
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

30 Mar 2026 11:32AM UTC coverage: 65.613% (-0.5%) from 66.102%
23742596401.1

Pull #707

github

ptondereau
fix(memory): eliminate module definition memory leak

Store the ModuleEntry in a static (StaticModuleEntry) instead of
Box::into_raw, mirroring how C extensions use a static zend_module_entry.
Free all secondary heap allocations (name, version, functions, arg_info,
class-name pointers) during MSHUTDOWN via cleanup_module_allocations().

Reduces valgrind-reported leaks by ~44% (10KB / 225 blocks) on the test
extension. Remaining leaks are from class registration — a separate concern.

Closes #540
Pull Request #707: fix(memory): eliminate module definition memory leak

8071 of 12301 relevant lines covered (65.61%)

31.9 hits per line

Source Files on job 23742596401.1
  • Tree
  • List 89
  • Changed 8
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23742596401
  • 453d9520 on github
  • Prev Job for on fix/module-entry-memory-leak (#23739555840.1)
  • Next Job for on fix/module-entry-memory-leak (#23743442514.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc