X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/394615dd78f78c52ba9051410a026fdb74a40d93..0e3776d9deb94616553d261f7053b811267476b6:/package/switch/src/switch-core.c diff --git a/package/switch/src/switch-core.c b/package/switch/src/switch-core.c index c1c9e58d4..5eeb803aa 100644 --- a/package/switch/src/switch-core.c +++ b/package/switch/src/switch-core.c @@ -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; }