Tag: aeb35ebc5f54bcdd7163f5282a3f39bc48c75cae

[media] imon: Correct call to input_free_device

Author: Julia Lawall <julia@diku.dk> ictx->touch is intialied in imon_init_intf1, to the result of calling the function that contains this code. Thus, in this code, input_free_device should be called on touch itself. A simplified version of the semantic match that finds this problem is: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression struct input_dev * x; expression ra,rr; …

Continue reading