rrunner.c: fix possible memory leak in rr_init_one()
authorDavid Oostdyk <daveo@ll.mit.edu>
Fri, 8 Mar 2013 08:28:15 +0000 (08:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Mar 2013 20:42:23 +0000 (16:42 -0400)
commitfef4c86e59a76f2ec1a77d5732f40752700bd5dd
treea055127e04ca03bb1540dbf797385c1e644f946f
parent29cd8ae0e1a39e239a3a7b67da1986add1199fc0
rrunner.c: fix possible memory leak in rr_init_one()

In the event that register_netdev() failed, the rrpriv->evt_ring
allocation would have not been freed.

Signed-off-by: David Oostdyk <daveo@ll.mit.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hippi/rrunner.c