Skip to content
This repository was archived by the owner on Jul 18, 2026. It is now read-only.
This repository was archived by the owner on Jul 18, 2026. It is now read-only.

Memory leak from frame.toBytes() #54

Description

@Froxcey

In my code base, I'm calling mat.toByte() every frame
Since that function allocates memory on heap, it causes memory leak
Is there a way to do something like

var bytes = mat.toBytes();
defer mat.freeBytes();

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