raspi-pico-aprs-tnc icon indicating copy to clipboard operation
raspi-pico-aprs-tnc copied to clipboard

Dangling reference in aprs_pico_init()

Open ArkinSolomon opened this issue 7 months ago • 1 comments
trafficstars

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.

ArkinSolomon avatar Apr 08 '25 06:04 ArkinSolomon

Hi Arkin, oh yes, that's definitively an issue, it needs to be fixed. Thanks for reporting !

eleccoder avatar Apr 08 '25 20:04 eleccoder

Fixed by commit 097b411ae96362072d6ca8354de15d1606d3728e

eleccoder avatar Jul 23 '25 16:07 eleccoder