X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7252fa251634f51cf28f3b286b20b9d55fbc2702..599347b970dec2ad471021b8eecca62e8f0854e9:/src/include/surf/surf_resource.h diff --git a/src/include/surf/surf_resource.h b/src/include/surf/surf_resource.h index 84118374ef..aa72c4cfaf 100644 --- a/src/include/surf/surf_resource.h +++ b/src/include/surf/surf_resource.h @@ -23,10 +23,10 @@ static XBT_INLINE static XBT_INLINE void routing_storage_type_free(void *r) { storage_type_t stype = r; - free(stype->content); free(stype->model); free(stype->type_id); - xbt_dict_free(&stype->properties); + xbt_dict_free(&(stype->properties)); + xbt_dict_free(&(stype->content)); free(stype); }