Tag: 8d34e7d6f38fce1c7e595404295494cd1eaba3eb

drivers/net/irda: Eliminate memory leak

Author: Julia Lawall <julia@diku.dk> dev_alloc_skb allocates some memory, so that memory should be freed before leaving the function in an error case. Corrected some typos in a nearby comment as well. A simplified version of the semantic match that finds this problem is: (http://coccinelle.lip6.fr/) // @r exists@ local idexpression x; expression E; identifier f1; iterator …

Continue reading