fix the memory leak in `responseParse()`