Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0a976297e1f57a6d156d3f8ed7f10c64beb031a4
Commit:     0a976297e1f57a6d156d3f8ed7f10c64beb031a4
Parent:     b530cc794024be227876a089e66fb17b7b512763
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 23 13:48:50 2007 -0500
Committer:  Eric Van Hensbergen <[EMAIL PROTECTED]>
CommitDate: Tue Oct 23 13:48:50 2007 -0500

    9p: fix memleak in fs/9p/v9fs.c
    
    This patch fixes a memory leak introduced by
    commit ba17674fe02909fef049fd4b620a2805bdb8c693.
    
    Spotted by the Coverity checker.
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Eric Van Hensbergen <[EMAIL PROTECTED]>
---
 fs/9p/v9fs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/9p/v9fs.c b/fs/9p/v9fs.c
index 873802d..756f7e9 100644
--- 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:
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to