tokenring/3c359.c: Prevent possible mem leak when open failed
authorJirka Pirko <jirka@pirko.cz>
Mon, 24 Nov 2008 22:49:11 +0000 (14:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Nov 2008 22:49:11 +0000 (14:49 -0800)
commit5c94afd79cd9e68cb9899fe7788342329e9f445f
tree2ea134e0418a2e2fb0bce5ac9cec9a02ad591b3c
parent138a5cdf2ffe8c6602641f8aaa00cfcf10929fe1
tokenring/3c359.c: Prevent possible mem leak when open failed

Freeing previously allocated buffers in case of error.

Signed-off-by: Jirka Pirko <jirka@pirko.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/3c359.c