Fixed a memory issue in cplex_balanced_adapter.