]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srp: Coverity fix to srp_parse_options()
authorRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:25 +0000 (10:08 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:25 +0000 (10:08 -0800)
commitffc52450e087ab141452eecfaf9c9e1481c9ad27
tree95c534eed9c2b188c28681a87690a759c876c30c
parent5411e362c5516e4baa220be00bd2f5d42244d88b
IB/srp: Coverity fix to srp_parse_options()

Fix leak found by Coverity: in the SRP_OPT_DGID case,
srp_parse_options() didn't free the result of match_strdup().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c