Tag: e3854b6e25d1b092c30c5f81a04fe6fc839b1e26

arch/powerpc/sysdev/ehv_pic.c: add missing kfree

Author: Julia Lawall <julia@diku.dk> At this point, ehv_pic has been allocated but not stored anywhere, so it should be freed before leaving the function. 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; @@ …

Continue reading