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

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

From: Alan Cox <hidden>
Date: 2011-07-20 15:52:17

On Wed, 20 Jul 2011 23:41:36 +0800
Wanlong Gao [off-list ref] wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help