Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This is already called by the constructor of the base class NetworkCm02Model.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 5 Dec 2013 17:15:27 +0000 (18:15 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Thu, 5 Dec 2013 21:20:04 +0000 (22:20 +0100)
Fixes memory leak.

src/surf/network_constant.cpp

index 55e6e3c..00d100a 100644 (file)
@@ -20,8 +20,6 @@ void surf_network_model_init_Constant()
 
   ModelPtr model = static_cast<ModelPtr>(surf_network_model);
   xbt_dynar_push(model_list, &model);
-
-  routing_model_create(NULL);
 }
 
 double NetworkConstantModel::shareResources(double /*now*/)