two more iob fixes

master
leitner 21 years ago
parent c901631a00
commit c574ab3641

@ -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