Skip to content

Dangling reference in aprs_pico_init() #3

Open
@ArkinSolomon

Description

@ArkinSolomon

A dangling reference is retained to the configuration structs here. This is related to #1, and causes an assertion if the memory is reused. Moving the variables out of the stack fixes this issue. pico_audio stores these configuration structs by reference and not by value.

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