Critical bug fix: force empty the list! - fixes a memory leak