If init fails halfway through it will call the destroy function, which needs some coherent stuff filled. Allocate with calloc and fill in what cannot fail first Found through static analysis. |
||
|---|---|---|
| .. | ||
| bar.c | ||
| input.c | ||
| output.c | ||
| seat.c | ||
If init fails halfway through it will call the destroy function, which needs some coherent stuff filled. Allocate with calloc and fill in what cannot fail first Found through static analysis. |
||
|---|---|---|
| .. | ||
| bar.c | ||
| input.c | ||
| output.c | ||
| seat.c | ||