mirror of /home/gitosis/repositories/libowfat.git
munmap cleanup fix (Erdgeist)
parent
fe4fef2e65
commit
68291b6bb1
|
@ -3,7 +3,7 @@
|
|||
#include "iob_internal.h"
|
||||
|
||||
static void cleanup(struct iob_entry* x) {
|
||||
munmap((char*)x->buf,x->n);
|
||||
munmap((char*)x->buf,x->offset+x->n);
|
||||
}
|
||||
|
||||
int iob_addbuf_munmap(io_batch* b,const void* buf,uint64 n) {
|
||||
|
|
Loading…
Reference in New Issue