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:
Felix Fietkau
2007-06-20 21:52:55 +00:00
parent 4fdfc0f79b
commit 511942352f

View File

@@ -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;
}