Tag: f8afdf481f0fef5e170c6c928cec42879d505654

drivers/net/wireless/wl12xx: add missing kfree

Author: Julia Lawall <julia@diku.dk> In each case, the freed data should be freed in the error handling code as well. 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 = \(kmalloc\|kzalloc\|kcalloc\)(…); … …

Continue reading