Skip to content

DUMP_LEAKS misreports memory leak #654

Closed
@bnoordhuis

Description

@bnoordhuis
$ touch empty.js
$ build/qjs -D0x4000 empty.js
Memory leak: 192 bytes lost in 2 blocks

There is no actual memory leak: the DUMP_LEAKS code runs before the final two js_free_rt calls

Metadata

Metadata

Assignees

No one assigned

    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