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 | fa799b9b4c54ff7155425b4dfaf35da27800e2f6 (patch) | |
tree | 1d9358c32608bf3058802c216bd3dfa582626095 /package/broadcom-diag/src | |
parent | 625e17c6a1bc208662c08318b3182ca026748563 (diff) | |
download | mtk-20170518-fa799b9b4c54ff7155425b4dfaf35da27800e2f6.zip mtk-20170518-fa799b9b4c54ff7155425b4dfaf35da27800e2f6.tar.gz mtk-20170518-fa799b9b4c54ff7155425b4dfaf35da27800e2f6.tar.bz2 |
fix a memleak in broadcom-diag (#1780)
SVN-Revision: 7683
Diffstat (limited to 'package/broadcom-diag/src')
-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 0b07467..af19079 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; } |