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:
24ddba8
)
fix memory leak in switch drivers (patch from #1132)
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 7 Jan 2007 14:59:43 +0000
(14:59 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 7 Jan 2007 14:59:43 +0000
(14:59 +0000)
SVN-Revision: 6011
openwrt/target/linux/package/switch/src/switch-core.c
patch
|
blob
|
history
diff --git
a/openwrt/target/linux/package/switch/src/switch-core.c
b/openwrt/target/linux/package/switch/src/switch-core.c
index 82166463702d09df616769a268b42e24e01f1319..d80b6d328e9b7eb0a362d7a226f464ba5db45ee2 100644
(file)
--- a/
openwrt/target/linux/package/switch/src/switch-core.c
+++ b/
openwrt/target/linux/package/switch/src/switch-core.c
@@
-107,6
+107,7
@@
static ssize_t switch_proc_read(struct file *file, char *buf, size_t count, loff
len = 0;
}
+ kfree(page);
return len;
}