mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-27 14:01:05 +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;
|
len = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kfree(page);
|
||||||
return len;
|
return len;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user