From 397cd035a40ddbc3abff2d77cb4bf6e936266944 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sun, 25 Apr 2021 18:23:00 +0200 Subject: Turn mmaps into malloc --- ot_mutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ot_mutex.c') diff --git a/ot_mutex.c b/ot_mutex.c index 9d87d0f..f46e3e2 100644 --- a/ot_mutex.c +++ b/ot_mutex.c @@ -126,7 +126,7 @@ void mutex_workqueue_canceltask( int64 sock ) { /* Free task's iovec */ for( i=0; i<(*task)->iovec_entries; ++i ) - munmap( iovec[i].iov_base, iovec[i].iov_len ); + free( iovec[i].iov_base ); *task = (*task)->next; free( ptask ); -- cgit v1.2.3