Re: [PATCH 24/24] ibmasm: convert to dynamic input_dev allocation

From: Dmitry Torokhov
Date: Mon Jan 09 2006 - 13:29:26 EST


On 1/9/06, Vernon Mauery <vernux@xxxxxxxxxx> wrote:
> Dmitry Torokhov wrote:
> > +
> > + err_unregister_mouse_dev:
> > + input_unregister_device(mouse_dev);
>
> If I understand the API correctly now, shouldn't there be a
> mouse_dev = NULL;
> right here to prevent the following input_free_device?
>

Argh, I was saying it needed there and ended up forgetting it :( Wll
fix that tonight.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/