ieee802154: Fix memory leak in ieee802154_add_iface()
authorChristian Engelmayer <cengelma@gmx.at>
Sat, 11 Jan 2014 21:19:30 +0000 (22:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 23:40:56 +0000 (15:40 -0800)
commit267d29a69c6af39445f36102a832b25ed483f299
tree2c26d9a5c2d40f6588b699c46917bba35e0b586d
parentfdc3452cd2c7b2bfe0f378f92123f4f9a98fa2bd
ieee802154: Fix memory leak in ieee802154_add_iface()

Fix a memory leak in the ieee802154_add_iface() error handling path.
Detected by Coverity: CID 710490.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/nl-phy.c