From: suter Date: Wed, 25 Sep 2013 12:54:58 +0000 (+0200) Subject: here was the leak ... X-Git-Tag: v3_9_90~85 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2767d04dfce45dee33cbf8dc3efb156383119093 here was the leak ... --- diff --git a/src/surf/storage.c b/src/surf/storage.c index 7ca79b17b2..087913b5b2 100644 --- a/src/surf/storage.c +++ b/src/surf/storage.c @@ -222,7 +222,6 @@ static void* storage_create_resource(const char* id, const char* model, storage = (storage_t) surf_resource_new(sizeof(s_storage_t), surf_storage_model, id, properties, NULL); - storage->generic_resource.name = xbt_strdup(id); storage->state_current = SURF_RESOURCE_ON; storage->used_size = 0; storage->size = 0;