ef60e8f5d5
Clear the cx231xx_devused variable and free dev in the error handling code, as done in the error handling code nearby. The semantic match that finds this problem is as follows: // <smpl> @r@ identifier x; @@ kfree(x) @@ identifier r.x; expression E1!=0,E2,E3,E4; statement S; @@ ( if (<+...x...+>) S | if (...) { ... when != kfree(x) when != if (...) { ... kfree(x); ... } when != x = E3 * return E1; } ... when != x = E2 if (...) { ... when != x = E4 kfree(x); ... return ...; } ) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com> |
||
---|---|---|
.. | ||
cx231xx-417.c | ||
cx231xx-audio.c | ||
cx231xx-avcore.c | ||
cx231xx-cards.c | ||
cx231xx-conf-reg.h | ||
cx231xx-core.c | ||
cx231xx-dif.h | ||
cx231xx-dvb.c | ||
cx231xx-i2c.c | ||
cx231xx-input.c | ||
cx231xx-pcb-cfg.c | ||
cx231xx-pcb-cfg.h | ||
cx231xx-reg.h | ||
cx231xx-vbi.c | ||
cx231xx-vbi.h | ||
cx231xx-video.c | ||
cx231xx.h | ||
Kconfig | ||
Makefile |