| 53 | with error checking. */ |
| 54 | |
| 55 | void * |
| 56 | GnuDiff::xrealloc(void *p, size_t n) |
| 57 | { |
| 58 | p = realloc(p, n == 0 ? 1 : n); |
| 59 | if(p == nullptr) |
| 60 | xalloc_die(); |
| 61 | return p; |
| 62 | } |
| 63 | |
| 64 | /* Yield a new block of SIZE bytes, initialized to zero. */ |
| 65 |
nothing calls this directly
no outgoing calls
no test coverage detected