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:
b530cc7
)
9p: fix memleak in fs/9p/v9fs.c
author
Adrian Bunk
<bunk@kernel.org>
Tue, 23 Oct 2007 18:48:50 +0000
(13:48 -0500)
committer
Eric Van Hensbergen
<ericvh@gmail.com>
Tue, 23 Oct 2007 18:48:50 +0000
(13:48 -0500)
This patch fixes a memory leak introduced by
commit
ba17674fe02909fef049fd4b620a2805bdb8c693
.
Spotted by the Coverity checker.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/v9fs.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/9p/v9fs.c
b/fs/9p/v9fs.c
index 873802de21cd9a2539e8ffbc47ee0a8a0a28babb..756f7e9beb2e0a12cc1ad527992ca9fe6537c966 100644
(file)
--- a/
fs/9p/v9fs.c
+++ b/
fs/9p/v9fs.c
@@
-162,6
+162,7
@@
static void v9fs_parse_options(struct v9fs_session_info *v9ses)
if (*e != '\0')
v9ses->uid = ~0;
}
+ kfree(s);
break;
default: