[PD] another free c lesson: realloc