[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-97-g31282a0
Service Account
noreply at mpich.org
Wed Jan 20 11:33:48 CST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via 31282a08dd74043ee18af6efccab9f2b955e54a8 (commit)
from 25b8bac98d7e78fe0d4fcef9dc4243425c39ba79 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/31282a08dd74043ee18af6efccab9f2b955e54a8
commit 31282a08dd74043ee18af6efccab9f2b955e54a8
Author: Rob Latham <robl at mcs.anl.gov>
Date: Wed Jan 20 11:26:18 2016 -0600
on error, free the pointer, not the value
got tripped up with the 'void **' parameter: if we cannot convert the
buffer, clean up by freeing *new_thing. Another find by Michael Raymond
<mraymond at sgi.com>
No reviewer
diff --git a/src/mpi/romio/mpi-io/mpiu_external32.c b/src/mpi/romio/mpi-io/mpiu_external32.c
index ce2253b..8a8254c 100644
--- a/src/mpi/romio/mpi-io/mpiu_external32.c
+++ b/src/mpi/romio/mpi-io/mpiu_external32.c
@@ -160,7 +160,7 @@ int MPIU_external32_buffer_setup(const void * buf, int count, MPI_Datatype type,
error_code = MPIU_write_external32_conversion_fn(buf, type, count, *newbuf);
if (error_code != MPI_SUCCESS) {
- ADIOI_Free(newbuf);
+ ADIOI_Free(*newbuf);
return error_code;
}
return MPI_SUCCESS;
-----------------------------------------------------------------------
Summary of changes:
src/mpi/romio/mpi-io/mpiu_external32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list