Fix memory leak in parseReply.