diff options
author | John Crispin <john@openwrt.org> | 2015-07-07 13:46:16 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-07-07 13:46:16 +0000 |
commit | 5da98f34786e5a6c44990b309fae7a614669f5be (patch) | |
tree | 6bed5deacef6f78773970bb632a037be581f8307 /package/network/config/swconfig/src/swlib.c | |
parent | 294907aa3ab96d8fbee05082ef4db3f886eb0321 (diff) | |
download | upstream-5da98f34786e5a6c44990b309fae7a614669f5be.tar.gz upstream-5da98f34786e5a6c44990b309fae7a614669f5be.tar.bz2 upstream-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.c')
-rw-r--r-- | package/network/config/swconfig/src/swlib.c | 2 |
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; } |