+/* Copyright (c) 2013-2014. The SimGrid Team.
+ * All rights reserved. */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
#include "colls_private.h"
//#include <star-reduction.c>
messages. */
if (size > 1)
- origin = (char *) xbt_malloc(count * extent);
+ origin = (char *) smpi_get_tmp_recvbuffer(count * extent);
/* Initialize the receive buffer. */
}
if (origin)
- free(origin);
+ smpi_free_tmp_buffer(origin);
/* All done */
return 0;