Reallocate but free `p` on errors
| 447 | |
| 448 | // Reallocate but free `p` on errors |
| 449 | mi_decl_nodiscard void* mi_reallocf(void* p, size_t newsize) mi_attr_noexcept { |
| 450 | return mi_theap_reallocf(_mi_theap_default(),p,newsize); |
| 451 | } |
| 452 | |
| 453 | mi_decl_nodiscard void* mi_rezalloc(void* p, size_t newsize) mi_attr_noexcept { |
| 454 | return mi_theap_rezalloc(_mi_theap_default(), p, newsize); |
nothing calls this directly
no test coverage detected