X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dbfa5606c9912e09908b3343ec7a56b283ec82b9..f5fd55f293d7e019e8c23e7ff76e2b3743e40cd6:/src/surf/network_constant.c diff --git a/src/surf/network_constant.c b/src/surf/network_constant.c index bf73baff10..a6978a2280 100644 --- a/src/surf/network_constant.c +++ b/src/surf/network_constant.c @@ -41,7 +41,7 @@ static int netcste_action_unref(surf_action_t action) action->refcount--; if (!action->refcount) { xbt_swag_remove(action, action->state_set); - free(action); + surf_action_free(&action); return 1; } return 0;