summaryrefslogtreecommitdiff
path: root/ot_mutex.c
diff options
context:
space:
mode:
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 );