projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45fc3b1
)
[IRDA]: Fix memory leak in irttp_init()
author
Alexey Dobriyan
<adobriyan@gmail.com>
Sat, 24 Sep 2005 23:54:50 +0000
(16:54 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 24 Sep 2005 23:54:50 +0000
(16:54 -0700)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/irttp.c
patch
|
blob
|
blame
|
history
diff --git
a/net/irda/irttp.c
b/net/irda/irttp.c
index 6602d901f8b111ba51e2947f51b4ebaf452d5dbb..1df6487609e1e440a0918f85d48da0e0dbcbe7bd 100644
(file)
--- a/
net/irda/irttp.c
+++ b/
net/irda/irttp.c
@@
-100,6
+100,7
@@
int __init irttp_init(void)
if (!irttp->tsaps) {
IRDA_ERROR("%s: can't allocate IrTTP hashbin!\n",
__FUNCTION__);
+ kfree(irttp);
return -ENOMEM;
}