two more iob fixes

master
Felix von Leitner 19 years ago
parent b76f4e9bdc
commit 21b86126f7
  1. 3
      io/iob_reset.c

@ -1,7 +1,8 @@
#include <stdlib.h>
#include "byte.h"
#include "iob_internal.h"
void iob_reset(io_batch* b) {
array_reset(&b->b);
free(b);
byte_zero(&b,sizeof(*b));
}

Loading…
Cancel
Save