Skip to content

Memory leak in mrb_gc_unregister #6760

Description

@Asmod4n

Hi there, mrb_gc_unregister stops the first time it found an object, leading to memory leaks:

mruby/src/gc.c

Line 537 in f61ab96

mrb_gc_unregister(mrb_state *mrb, mrb_value obj)

Can we just remove the break? or would that break.. the function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions