]>
andersk Git - splint.git/blame_incremental - test/temp/pmalloc.c
... / ...
Commit | Line | Data |
| 1 | #include <stdlib.h> |
| 2 | |
| 3 | void |
| 4 | foo() |
| 5 | { |
| 6 | char *p; |
| 7 | |
| 8 | if ((p = malloc(100)) == NULL) |
| 9 | printf("out of memory\n"); |
| 10 | else |
| 11 | free (p); |
| 12 | } |
This page took 0.060223 seconds and 5 git commands to generate.