On Aug 1, 2009, at 3:52 AM, Julia Lawall wrote:
From: Julia Lawall
Error handling code following a kzalloc should free the allocated
data.
The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
//
@r exists@
local idexpression x;
statement S;
exp
On Sat, Aug 1, 2009 at 3:52 AM, Julia Lawall wrote:
> From: Julia Lawall
>
> Error handling code following a kzalloc should free the allocated data.
>
...
>
> Signed-off-by: Julia Lawall
> ---
> arch/powerpc/sysdev/qe_lib/qe_ic.c | 5 -
> 1 files changed, 4 insertions(+), 1 deletions(-
From: Julia Lawall
Error handling code following a kzalloc should free the allocated data.
The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
//
@r exists@
local idexpression x;
statement S;
expression E;
identifier f,f1,l;
position p1,p2;
expressio