Skip to content

Memory leak from module definition #540

@Xenira

Description

@Xenira

Description

Description

When loading an extension the allocated module is never freed

Steps to Reproduce

  1. Load an extension

Actual Behavior

Box::into_raw() is never freed

Expected Behavior

Box::into_raw() is freed

Log Output

Affected Components

  • ext-php-rs
  • macros
  • cli (cargo-php)

PHP Version

All

ext-php-rs Version

all

Operating System

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions