netlink-socket: remove local variable in do_lookup_genl_family.
authorNithin Raju <nithin@vmware.com>
Tue, 9 Sep 2014 20:50:57 +0000 (13:50 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Tue, 9 Sep 2014 21:02:48 +0000 (14:02 -0700)
commit5f7487da0a1659a5492baae87926e4b1293cf108
treea77732012c548d07fbb5b8e10d16701307f10f7d
parent0173bf0628b5190e3267d99eafd374bd9e734523
netlink-socket: remove local variable in do_lookup_genl_family.

'sock' is not initialized and hence should not be un-initialized
as well in the failure path.

Reported-by: Gurucharan Shetty <shettyg@nicira.com>
Signed-off-by: Nithin Raju <nithin@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
lib/netlink-socket.c