bugfix: the optimization that frees the memory blocks for pending data was premature and could lead to memory invalid reads when pending buf splitting happens.