Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove host data and had JAVA_HOST_LEVEL
[simgrid.git] / src / surf / surf_interface.cpp
index 4378973..b59b7b0 100644 (file)
@@ -724,6 +724,8 @@ const char *Resource::getName() {
 }
 
 xbt_dict_t Resource::getProperties() {
+  if (p_properties==NULL)
+       p_properties = xbt_dict_new();
   return p_properties;
 }