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
leak--
[simgrid.git]
/
src
/
simix
/
smx_io.c
diff --git
a/src/simix/smx_io.c
b/src/simix/smx_io.c
index
aee5550
..
438d87d
100644
(file)
--- a/
src/simix/smx_io.c
+++ b/
src/simix/smx_io.c
@@
-221,7
+221,7
@@
int SIMIX_file_unlink(smx_process_t process, smx_file_t fd)
}
if (surf_workstation_model->extension.workstation.unlink(host, fd->surf_file)){
-
fd->surf_file = NULL
;
+
xbt_free(fd)
;
return 1;
} else
return 0;