diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-20 21:52:55 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-20 21:52:55 +0000 |
commit | 511942352f27578949ef3b508c009f464e1435a8 (patch) | |
tree | e6445949252fbe1a96231750575c12b1f37c66d7 | |
parent | 4fdfc0f79b451d9ce4cfb455712c653dc21b84a9 (diff) | |
download | upstream-511942352f27578949ef3b508c009f464e1435a8.tar.gz upstream-511942352f27578949ef3b508c009f464e1435a8.tar.bz2 upstream-511942352f27578949ef3b508c009f464e1435a8.zip |
fix a memleak in broadcom-diag (#1780)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7683 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/broadcom-diag/src/diag.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |