aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-09-03 08:42:27 -0400
committerTony Lindgren <tony@atomide.com>2012-09-10 14:48:30 -0400
commit5e40b1c1cc5ae9b949f96d40356afd2a31477365 (patch)
tree987c47aba51e8736855c54e48a05b77db8cdd5b9 /net/lapb/lapb_subr.c
parent55d512e245bc7699a8800e23df1a24195dd08217 (diff)
gpio/omap: fix possible memory leak in omap2_gpio_dev_init()
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 <yongjun_wei@trendmicro.com.cn> Acked-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions