interface: avoid memleaks on invalid interfaces
authorFelix Fietkau <[email protected]>
Tue, 12 Aug 2025 17:47:53 +0000 (19:47 +0200)
committerFelix Fietkau <[email protected]>
Tue, 12 Aug 2025 17:53:06 +0000 (19:53 +0200)
commit94c3869941b0b92b9fe8c30a45848a64f78e6409
treec6e54bc9740e73c4ddfdc62b3aeab698ee722e46
parent843a736a4e26188c9449e16efb5c62d5ab1ab59c
interface: avoid memleaks on invalid interfaces

Free strings that were allocated with strdup in interface_alloc

Signed-off-by: Felix Fietkau <[email protected]>
config.c
interface.c
interface.h