X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/056d48c9fa3d5fa5afd2be695f54edbc5fd5434d..fe544e4636985ad6bb5fa4809f7b2cbbdccb51cb:/examples/msg/io-storage/io-storage.c diff --git a/examples/msg/io-storage/io-storage.c b/examples/msg/io-storage/io-storage.c index 4094c93bca..a4c8b338ea 100644 --- a/examples/msg/io-storage/io-storage.c +++ b/examples/msg/io-storage/io-storage.c @@ -73,6 +73,7 @@ static int host(int argc, char *argv[]){ /* - Then retrieve this data */ char *data = MSG_file_get_data(file); XBT_INFO("User data attached to the file: %s", data); + xbt_free(data); MSG_file_close(file); free(file_name);