X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9381566f3c9f1e7bd3c8e2ec4c0a186678957d51..3cc7b00a7090a9d8f345547bd7b8f56c26ad5acd:/src/smpi/smpi_mpi_dt.c diff --git a/src/smpi/smpi_mpi_dt.c b/src/smpi/smpi_mpi_dt.c index 860e48c532..d7f0fc9ce3 100644 --- a/src/smpi/smpi_mpi_dt.c +++ b/src/smpi/smpi_mpi_dt.c @@ -1703,8 +1703,6 @@ int smpi_type_attr_get(MPI_Datatype type, int keyval, void* attr_value, int* fla return MPI_SUCCESS; } TRY { - char* tmpkey=xbt_malloc(INTSIZEDCHAR); - sprintf(tmpkey, "%d", keyval); *(void**)attr_value = xbt_dict_get(type->attributes, (const char*)tmpkey); *flag=1; }