A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
commit some harmless changes
[simgrid.git]
/
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
4094c93
..
a4c8b33
100644
(file)
--- 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);