[Fix] Fix a memory leak in PlayerSelectionRule.cpp.