diff --git a/ompi/mpi/c/imrecv.c b/ompi/mpi/c/imrecv.c
index ae955cfaaf..35fed70022 100644
--- a/ompi/mpi/c/imrecv.c
+++ b/ompi/mpi/c/imrecv.c
@@ -67,5 +67,5 @@ int MPI_Imrecv(void *buf, int count, MPI_Datatype type,
     OPAL_CR_ENTER_LIBRARY();
 
     rc = MCA_PML_CALL(imrecv(buf, count, type, message, request));
-    OMPI_ERRHANDLER_RETURN(rc, (*message)->comm, rc, FUNC_NAME);
+    OMPI_ERRHANDLER_RETURN(rc, comm, rc, FUNC_NAME);
 }
diff --git a/ompi/mpi/c/mrecv.c b/ompi/mpi/c/mrecv.c
index 7f4ff1e510..f9d2377e22 100644
--- a/ompi/mpi/c/mrecv.c
+++ b/ompi/mpi/c/mrecv.c
@@ -75,5 +75,5 @@ int MPI_Mrecv(void *buf, int count, MPI_Datatype type,
         opal_memchecker_base_mem_undefined(&status->MPI_ERROR, sizeof(int));
     );
 
-    OMPI_ERRHANDLER_RETURN(rc, (*message)->comm, rc, FUNC_NAME);
+    OMPI_ERRHANDLER_RETURN(rc, comm, rc, FUNC_NAME);
 }