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

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

Build:
Build:
LAST BUILD BRANCH: feat/issue-199-primitive-union-types
DEFAULT BRANCH: master
Ran 30 Mar 2026 11:58AM UTC
Files 89
Run time 2s
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:55AM UTC coverage: 65.597% (-0.3%) from 65.904%
23743442514.1

push

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

8071 of 12304 relevant lines covered (65.6%)

31.89 hits per line

Source Files on job 23743442514.1
  • Tree
  • List 89
  • Changed 20
  • Source Changed 20
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23743442514
  • 87b7f8ba on github
  • Prev Job for on fix/module-entry-memory-leak (#23735765842.1)
  • Next Job for on fix/module-entry-memory-leak (#23743465206.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