Improve realloc on fixed buffer allocator (#1238)

* Add test to check re-use of memory

* Check if realloc has to reallocate the last allocated memory block.
If so extend that block instead of allocating a new one.

* Also check if the realloc actually preserves the data.
69e50ad2f5Bas van den Berg committed on 7/14/2018, 8:31:11 PM· committed by Andrew Kelleyparent278829f
1 file changedLine totals unavailable