Tag: 059c4383550b158bc1b6d34d8ab085e81cb3d71b

drivers/net/wireless/wl1251: add missing kfree

Author: Julia Lawall <julia@diku.dk> In each case, the kfree already at the end of the function is also needed in the error case. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @exists@ local idexpression x; statement S,S1; expression E; identifier fl; expression *ptr != NULL; @@ x …

Continue reading