1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

switch: fix some memory leaks in switch_parse_vlan()

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29936 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke
2012-01-28 13:52:37 +00:00
parent ebbec463c7
commit 8bf9a785b1
3 changed files with 8 additions and 7 deletions

View File

@@ -341,6 +341,7 @@ static int handle_vlan_port_write(void *driver, char *buf, int nr)
}
adm_wreg(0x13 + nr, (__u16) ports);
kfree(c);
return 0;
}