Also aborting realloc(). */
| 144 | |
| 145 | /* Also aborting realloc(). */ |
| 146 | void *chatRealloc(void *ptr, size_t size) { |
| 147 | ptr = realloc(ptr,size); |
| 148 | if (ptr == NULL) { |
| 149 | perror("Out of memory"); |
| 150 | exit(1); |
| 151 | } |
| 152 | return ptr; |
| 153 | } |
nothing calls this directly
no outgoing calls
no test coverage detected