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
no need to free the file descriptor when you just want the file size
[simgrid.git]
/
src
/
simix
/
smx_io.c
diff --git
a/src/simix/smx_io.c
b/src/simix/smx_io.c
index
dfecdf0
..
08d7da0
100644
(file)
--- a/
src/simix/smx_io.c
+++ b/
src/simix/smx_io.c
@@
-313,7
+313,6
@@
void SIMIX_post_io(smx_action_t action)
simcall_file_ls__set__result(simcall, (action->io.surf_io)->ls_dict);
break;
case SIMCALL_FILE_GET_SIZE:
- xbt_free(simcall_file_get_size__get__fd(simcall));
simcall_file_get_size__set__result(simcall, 0);
break;