| 762 | return FALSE; |
| 763 | } |
| 764 | bool realloc_with_extra_if_needed(size_t arg_length) |
| 765 | { |
| 766 | if (arg_length < Alloced_length) |
| 767 | { |
| 768 | Ptr[arg_length]=0; // behave as if realloc was called. |
| 769 | return 0; |
| 770 | } |
| 771 | return realloc_with_extra(arg_length); |
| 772 | } |
| 773 | // Shrink the buffer, but only if it is allocated on the heap. |
| 774 | void shrink(size_t arg_length); |
| 775 |
no outgoing calls
no test coverage detected