X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9381566f3c9f1e7bd3c8e2ec4c0a186678957d51..3cc7b00a7090a9d8f345547bd7b8f56c26ad5acd:/src/smpi/smpi_comm.c diff --git a/src/smpi/smpi_comm.c b/src/smpi/smpi_comm.c index 19fadf3b0f..add045fa1d 100644 --- a/src/smpi/smpi_comm.c +++ b/src/smpi/smpi_comm.c @@ -569,8 +569,6 @@ int smpi_comm_attr_get(MPI_Comm comm, int keyval, void* attr_value, int* flag){ return MPI_SUCCESS; } TRY { - char* tmpkey=xbt_malloc(INTSIZEDCHAR); - sprintf(tmpkey, "%d", keyval); *(void**)attr_value = xbt_dict_get(comm->attributes, (const char*)tmpkey); *flag=1; }