Browse Source

two more iob fixes

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

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