X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ddefa678f669b4b68a05e4278b4e892825c0fb39..778f5a83b25b88a46e8da75206bf935a703aaa50:/package/switch/src/switch-core.c diff --git a/package/switch/src/switch-core.c b/package/switch/src/switch-core.c index 7bf705afe..5eeb803aa 100644 --- a/package/switch/src/switch-core.c +++ b/package/switch/src/switch-core.c @@ -32,7 +32,7 @@ * ports: same syntax as for nvram's vlan*ports (eg. "1 2 3 4 5*") */ -#include +#include #include #include #include @@ -100,6 +100,7 @@ static ssize_t switch_proc_read(struct file *file, char *buf, size_t count, loff len = 0; } + kfree(page); return len; }