Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rename model methods action_use/free to action_ref/unref
[simgrid.git] / testsuite / surf / surf_usage2.c
index 8ffdc0e..8201a45 100644 (file)
@@ -95,13 +95,13 @@ void test(char *platform)
               xbt_swag_extract(model->common_public->
                                states.failed_action_set))) {
         DEBUG1("\t * Failed : %p", action);
-        model->common_public->action_free(action);
+        model->common_public->action_unref(action);
       }
       while ((action =
               xbt_swag_extract(model->common_public->
                                states.done_action_set))) {
         DEBUG1("\t * Done : %p", action);
-        model->common_public->action_free(action);
+        model->common_public->action_unref(action);
       }
     }
   } while (surf_solve() >= 0.0);