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

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

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/upload-artifact-7
DEFAULT BRANCH: master
Ran 30 Mar 2026 11:05AM 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:02AM UTC coverage: 65.906% (+0.002%) from 65.904%
23741464792.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

8111 of 12307 relevant lines covered (65.91%)

31.89 hits per line

Source Files on job 23741464792.1
  • Tree
  • List 89
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23741464792
  • adf7d2eb on github
  • Prev Job for on fix/module-entry-memory-leak (#23735765842.1)
  • Next Job for on fix/module-entry-memory-leak (#23741511588.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