> diff -Nru a/drivers/net/myri_sbus.c b/drivers/net/myri_sbus.c
> --- a/drivers/net/myri_sbus.c Mon Nov 25 20:13:24 2002
> +++ b/drivers/net/myri_sbus.c Mon Nov 25 20:13:24 2002
> @@ -1085,6 +1085,7 @@
> #endif
> return 0;
> err: unregister_netdev(dev);
> + kfree(dev->priv);
> kfree(dev);
> return -ENODEV;
> }
> @@ -1142,6 +1143,7 @@
another bogus one, please revert.
>
>
> unregister_netdev(root_myri_dev->dev);
> kfree(root_myri_dev->dev);
> + kfree(root_myri_dev);
> root_myri_dev = next;
> }
likewise.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/