We were deallocating very small regions instead of the entire region we had originally allocated. Mamma mia!