Browse Source

munmap cleanup fix (Erdgeist)

master
Felix von Leitner 14 years ago
parent
commit
68291b6bb1
  1. 2
      io/iob_addbuf_munmap.c

2
io/iob_addbuf_munmap.c

@ -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…
Cancel
Save