HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Release coccinelle-0.2.1-rc1
[bpt/coccinelle.git]
/
tests
/
null.c
1
int
main
() {
2
fsm
->
jumpmatrix
=
3
kmalloc
(
sizeof
(
FSMFNPTR
) *
fsm
->
state_count
*
fsm
->
event_count
,
4
GFP_KERNEL
);
5
if
(
fsm
->
jumpmatrix
==
NULL
) {
foo
(
fsm
->
jumpmatrix
);
return
; }
6
memset
(
fsm
->
jumpmatrix
,
0
,
7
sizeof
(
FSMFNPTR
) *
fsm
->
state_count
*
fsm
->
event_count
);
8
}
9