From a505bd1917664e30e6ea9e2fb9fa11fe6ab14cfc Mon Sep 17 00:00:00 2001 From: suter Date: Thu, 6 Jun 2013 19:23:11 +0200 Subject: [PATCH] no need to free the file descriptor when you just want the file size ... have to think harder when copy/pasting --- src/simix/smx_io.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/simix/smx_io.c b/src/simix/smx_io.c index dfecdf0120..08d7da0c70 100644 --- 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; -- 2.20.1