mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-20 09:04:42 +02:00
fix memory leak in switch drivers (patch from #1132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6011 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
194473b2cf
commit
29e8bb3130
@ -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…
x
Reference in New Issue
Block a user