Fixed bug with memory allocation and freeing in List_Moves.cpp