coccinelle release 0.2.5
[bpt/coccinelle.git] / tests / null.c
CommitLineData
34e49164
C
1int 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