diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-12 18:00:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-12 18:00:09 -0700 |
commit | 446cc6345d3de6571bdd0840f48aca441488a28d (patch) | |
tree | d955f58d6895088dad9a45efcc78302d1d51511a /net | |
parent | 9bbd055808248a7adc78161472d3301285252361 (diff) | |
parent | 1b0bcbcf62884959fa7214eb16c44cff445691c6 (diff) | |
download | kernel_samsung_aries-446cc6345d3de6571bdd0840f48aca441488a28d.zip kernel_samsung_aries-446cc6345d3de6571bdd0840f48aca441488a28d.tar.gz kernel_samsung_aries-446cc6345d3de6571bdd0840f48aca441488a28d.tar.bz2 |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
net/9p/protocol.c: Fix a memory leak
Diffstat (limited to 'net')
-rw-r--r-- | net/9p/protocol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/protocol.c b/net/9p/protocol.c index b58a501..a873277 100644 --- a/net/9p/protocol.c +++ b/net/9p/protocol.c @@ -674,6 +674,7 @@ int p9dirent_read(char *buf, int len, struct p9_dirent *dirent, } strcpy(dirent->d_name, nameptr); + kfree(nameptr); out: return fake_pdu.offset; |