summaryrefslogtreecommitdiff
path: root/package/network/config/swconfig/src/swlib.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-07 13:46:05 +0000
committerJohn Crispin <john@openwrt.org>2015-07-07 13:46:05 +0000
commit294907aa3ab96d8fbee05082ef4db3f886eb0321 (patch)
treed47deffdacf2b2389cac2283cc7299ab09cf9fbb /package/network/config/swconfig/src/swlib.h
parent2b9bdf4d6f665db76dc3f56efb2bb74fe2a7a3d0 (diff)
downloadmtk-20170518-294907aa3ab96d8fbee05082ef4db3f886eb0321.zip
mtk-20170518-294907aa3ab96d8fbee05082ef4db3f886eb0321.tar.gz
mtk-20170518-294907aa3ab96d8fbee05082ef4db3f886eb0321.tar.bz2
swconfig: swlib.c: free portmaps in swlib_free()
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46231
Diffstat (limited to 'package/network/config/swconfig/src/swlib.h')
-rw-r--r--package/network/config/swconfig/src/swlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/config/swconfig/src/swlib.h b/package/network/config/swconfig/src/swlib.h
index 28bdd7f..2b42c14 100644
--- a/package/network/config/swconfig/src/swlib.h
+++ b/package/network/config/swconfig/src/swlib.h
@@ -158,7 +158,7 @@ struct switch_port {
struct switch_portmap {
unsigned int virt;
- const char *segment;
+ char *segment;
};
/**