summaryrefslogtreecommitdiffstats
path: root/package/network/config/swconfig/src/swlib.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-07 13:46:16 +0000
committerJohn Crispin <john@openwrt.org>2015-07-07 13:46:16 +0000
commit5da98f34786e5a6c44990b309fae7a614669f5be (patch)
tree6bed5deacef6f78773970bb632a037be581f8307 /package/network/config/swconfig/src/swlib.h
parent294907aa3ab96d8fbee05082ef4db3f886eb0321 (diff)
downloadmaster-31e0f0ae-5da98f34786e5a6c44990b309fae7a614669f5be.tar.gz
master-31e0f0ae-5da98f34786e5a6c44990b309fae7a614669f5be.tar.bz2
master-31e0f0ae-5da98f34786e5a6c44990b309fae7a614669f5be.zip
swconfig: swlib.c: free name and description of attributes
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> SVN-Revision: 46232
Diffstat (limited to 'package/network/config/swconfig/src/swlib.h')
-rw-r--r--package/network/config/swconfig/src/swlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/config/swconfig/src/swlib.h b/package/network/config/swconfig/src/swlib.h
index 2b42c14760..7edece3cc6 100644
--- a/package/network/config/swconfig/src/swlib.h
+++ b/package/network/config/swconfig/src/swlib.h
@@ -146,8 +146,8 @@ struct switch_attr {
int atype;
int id;
int type;
- const char *name;
- const char *description;
+ char *name;
+ char *description;
struct switch_attr *next;
};