From: Felix Fietkau Date: Wed, 20 Jun 2007 21:52:55 +0000 (+0000) Subject: fix a memleak in broadcom-diag (#1780) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a8540f13f88a8618bce3651e61a0b339509e80fe;p=openwrt%2Fsvn-archive%2Farchive.git fix a memleak in broadcom-diag (#1780) SVN-Revision: 7683 --- diff --git a/package/broadcom-diag/src/diag.c b/package/broadcom-diag/src/diag.c index 0b074673e8..af1907992f 100644 --- a/package/broadcom-diag/src/diag.c +++ b/package/broadcom-diag/src/diag.c @@ -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; }