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
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git]
/
src
/
msg
/
msg_io.c
diff --git
a/src/msg/msg_io.c
b/src/msg/msg_io.c
index
1d4c19e
..
cafcd12
100644
(file)
--- a/
src/msg/msg_io.c
+++ b/
src/msg/msg_io.c
@@
-146,7
+146,12
@@
int MSG_file_close(msg_file_t fd)
*/
int MSG_file_unlink(msg_file_t fd)
{
*/
int MSG_file_unlink(msg_file_t fd)
{
- return simcall_file_unlink(fd->simdata->smx_file);
+ int res = simcall_file_unlink(fd->simdata->smx_file);
+ free(fd->fullname);
+ xbt_free(fd->simdata);
+ xbt_free(fd->info);
+ xbt_free(fd);
+ return res;
}
/** \ingroup msg_file_management
}
/** \ingroup msg_file_management
@@
-326,5
+331,9
@@
void *MSG_storage_get_data(msg_storage_t storage)
xbt_dict_t MSG_storage_get_content(msg_storage_t storage)
{
return SIMIX_storage_get_content(storage);
xbt_dict_t MSG_storage_get_content(msg_storage_t storage)
{
return SIMIX_storage_get_content(storage);
- //return (simcall_storage_get_properties(storage));
+}
+
+sg_storage_size_t MSG_storage_get_size(msg_storage_t storage)
+{
+ return SIMIX_storage_get_size(storage);
}
}