Thread (1 message) 1 message, 1 author, 2012-09-07
DORMANTno replies

[PATCH v2] gpio/omap: fix possible memory leak in omap2_gpio_dev_init()

From: Kevin Hilman <hidden>
Date: 2012-09-07 22:37:39
Also in: linux-omap

Tony Lindgren [off-list ref] writes:
* Kevin Hilman [off-list ref] [120907 15:07]:
quoted
Wei Yongjun [off-list ref] writes:
quoted
From: Wei Yongjun <redacted>

pdata and pdata->regs have been allocated in this function and 
should be freed before leaving it, and in the other error handling
cases too.

spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <redacted>
Acked-by: Kevin Hilman <redacted>

Tony, can you pick this one up for fixes?
Sure, is fixes-noncritical OK for this one?
Yes.

Kevin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help