Try Reallocating memory, and return NULL if failed. */
| 254 | |
| 255 | /* Try Reallocating memory, and return NULL if failed. */ |
| 256 | void *ztryrealloc(void *ptr, size_t size) { |
| 257 | ptr = ztryrealloc_usable(ptr, size, NULL); |
| 258 | return ptr; |
| 259 | } |
| 260 | |
| 261 | /* Reallocate memory or panic. |
| 262 | * '*usable' is set to the usable size if non NULL. */ |
nothing calls this directly
no test coverage detected