projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ad2609
)
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
package/switch/src/switch-core.c
patch
|
blob
|
history
diff --git
a/package/switch/src/switch-core.c
b/package/switch/src/switch-core.c
index c1c9e58d480c7ed0a7293d457cc5c48de2d4d44c..5eeb803aa714614af6053f3aa9859fc5550fa5cf 100644
(file)
--- a/
package/switch/src/switch-core.c
+++ b/
package/switch/src/switch-core.c
@@
-100,6
+100,7
@@
static ssize_t switch_proc_read(struct file *file, char *buf, size_t count, loff
len = 0;
}
+ kfree(page);
return len;
}