mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-17 12:37:02 +00:00
fix memory leak in switch drivers (patch from #1132)
SVN-Revision: 6011
This commit is contained in:
parent
9ad2609933
commit
dd03b56357
@ -100,6 +100,7 @@ static ssize_t switch_proc_read(struct file *file, char *buf, size_t count, loff
|
|||||||
len = 0;
|
len = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kfree(page);
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user