9p: fix memory leak in v9fs_parse_options()
authorEric Van Hensbergen <ericvh@gmail.com>
Mon, 8 Feb 2010 23:59:34 +0000 (17:59 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Mon, 8 Feb 2010 23:59:34 +0000 (17:59 -0600)
commitbf2d29c64dd777e9a40bc4533e721944a590250f
tree4425f4ab1cee9cdf24a4ac92122682c929c24964
parentfb786100f7c75e154e63d0f5a2982e6d46dfb602
9p: fix memory leak in v9fs_parse_options()

If match_strdup() fail this function exits without freeing the options string.

Signed-off-by: Venkateswararao Jujjuri <jvrao@us.ibm.com>
Sigend-off-by: Eric Van Hensbergen <ericvh@gmail.com>
fs/9p/v9fs.c