Fixed a bug in heap-linear where it would return the same memory every time.