Thread (4 messages) flat view 4 messages, 2 authors, 2011-07-20

Re: [PATCH] drivers:input:free the memory before set it to NULL

From: Wanlong Gao <hidden>
Date: 2011-07-20 16:11:07

On 三, 2011-07-20 at 16:54 +0100, Alan Cox wrote:
On Wed, 20 Jul 2011 23:41:36 +0800
Wanlong Gao [off-list ref] wrote:
quoted
The memory of the platform driver data should be freed
before it was set to NULL.
This seems backwards to me. Currently the reference is invalidated before
the object, which seems to make more sense.

As there is no locking here it really makes no difference anyway
BTW, your email head icon is so cool.

Thanks
Wanlong Gao
quoted

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help