Skip to content

Possible memory leakage in the Script struct #89

Description

@rikkaii

Hi, I notice that in the following code, the raw pointerraw_script is allocated in Script::parse but never freed, which could potentially cause a memory leak.

wabt-rs/src/lib.rs

Lines 656 to 660 in 14f82c5

struct Script {
raw_script: *mut ffi::Script,
lexer: Lexer,
features: Features,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions