diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-25 18:23:00 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2021-04-25 18:23:00 +0200 |
| commit | 397cd035a40ddbc3abff2d77cb4bf6e936266944 (patch) | |
| tree | d1208c4bb0f56b8ae36d9c046cbc74462e1c0ede /ot_mutex.c | |
| parent | 95f1780f0b6229a6f52b6dbad1a645b4e91c6b06 (diff) | |
Turn mmaps into malloc
Diffstat (limited to 'ot_mutex.c')
| -rw-r--r-- | ot_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 ); |
