interface: fix memleak and reload issue for the zone attribute
authorFelix Fietkau <nbd@nbd.name>
Tue, 17 Dec 2024 13:23:05 +0000 (14:23 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 17 Dec 2024 13:23:06 +0000 (14:23 +0100)
commit058a099f5bc58c89b731218f6e9cc6ee76ba52c9
tree41ac157af8e57fd03c98832c98444895ed41170f
parent768027c5a7640137857f412f554227abd6160cdd
interface: fix memleak and reload issue for the zone attribute

- consider the field in the reload codepath
- free the attribute on interface free

Signed-off-by: Felix Fietkau <nbd@nbd.name>
interface.c
interface.h