Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Possible memory leak in iOS #50

@Jasonvdb

Description

@Jasonvdb

Not 100% certain this is an issue and no urgent fix or investigation required now but creating this ticket in case this causes a problem later.

After calling an rgb function from Swift code and using the pointer in CResultString to create Swift string, that data is only copied and the original most likely is never being released from memory on the rust side. Usually in a C library there will be an additional function to call to explicitly release the result from memory once the Swift code is done copying it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions