aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/swconfig/src/swlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/swconfig/src/swlib.c')
-rw-r--r--package/network/config/swconfig/src/swlib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/network/config/swconfig/src/swlib.c b/package/network/config/swconfig/src/swlib.c
index d7e570e05d..d9ef62f4ab 100644
--- a/package/network/config/swconfig/src/swlib.c
+++ b/package/network/config/swconfig/src/swlib.c
@@ -749,6 +749,8 @@ swlib_free_attributes(struct switch_attr **head)
while (a) {
next = a->next;
+ free(a->name);
+ free(a->description);
free(a);
a = next;
}