diff --git a/port/posix/posix_transport_shm.c b/port/posix/posix_transport_shm.c index 33dc7136..7a2f6f76 100644 --- a/port/posix/posix_transport_shm.c +++ b/port/posix/posix_transport_shm.c @@ -578,7 +578,7 @@ int posixTransportShm_ClientStaticMemDmaCallback( isInDma = 1; } else { - heap = client->dma.heap; + heap = posixTransportShm_GetDmaHeap(client->comm->transport_context); if (heap == NULL) { return WH_ERROR_NOTREADY; }