rem: free(data->rightList);
add: wfree(data->rightList);
context: freeMoveData(MoveData *data){    if (data->topList)	free(data->topList);    if (data->leftList)	free(data->leftList);    if (data->rightList)	free(data->rightList);    if (data->bottomList)	free(data->bottomList);}