Yes, seems so. From the malloc docs: `If the area pointed to was moved, a free(ptr) is done.`