mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-26 22:21:07 +02:00
fix a memleak in broadcom-diag (#1780)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7683 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7f44b2ab9e
commit
37d063a852
@ -912,6 +912,7 @@ static ssize_t diag_proc_read(struct file *file, char *buf, size_t count, loff_t
|
||||
len = 0;
|
||||
}
|
||||
|
||||
kfree(page);
|
||||
return len;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user