projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
625e17c
)
fix a memleak in broadcom-diag (#1780)
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 20 Jun 2007 21:52:55 +0000
(21:52 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 20 Jun 2007 21:52:55 +0000
(21:52 +0000)
SVN-Revision: 7683
package/broadcom-diag/src/diag.c
patch
|
blob
|
history
diff --git
a/package/broadcom-diag/src/diag.c
b/package/broadcom-diag/src/diag.c
index 0b074673e8ef02afbdd4cae0c14b90617d4a1b27..af1907992f3ffdc6f588c92975935dab83d0ce4d 100644
(file)
--- 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;
}