Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add missing one
[simgrid.git] / src / surf / vm_workstation.c
index 1db863c..3bd63c3 100644 (file)
@@ -45,7 +45,8 @@ static void vm_ws_destroy(const char *name)
        xbt_free(workstation->generic_resource.name);
 
        /* not defined yet, but we should have  */
-       // xbt_lib_unset(host_lib, name, SURF_WKS_LEVEL);
+       /* this will call surf_resource_free() */
+       xbt_lib_unset(host_lib, name, SURF_WKS_LEVEL);
 
        xbt_free(workstation);
 }