summaryrefslogtreecommitdiff
path: root/ot_mutex.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2021-04-25 18:23:00 +0200
committerDirk Engling <erdgeist@erdgeist.org>2021-04-25 18:23:00 +0200
commit397cd035a40ddbc3abff2d77cb4bf6e936266944 (patch)
treed1208c4bb0f56b8ae36d9c046cbc74462e1c0ede /ot_mutex.c
parent95f1780f0b6229a6f52b6dbad1a645b4e91c6b06 (diff)
Turn mmaps into malloc
Diffstat (limited to 'ot_mutex.c')
-rw-r--r--ot_mutex.c2
1 files changed, 1 insertions, 1 deletions
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 ) {
126 126
127 /* Free task's iovec */ 127 /* Free task's iovec */
128 for( i=0; i<(*task)->iovec_entries; ++i ) 128 for( i=0; i<(*task)->iovec_entries; ++i )
129 munmap( iovec[i].iov_base, iovec[i].iov_len ); 129 free( iovec[i].iov_base );
130 130
131 *task = (*task)->next; 131 *task = (*task)->next;
132 free( ptask ); 132 free( ptask );