two more iob fixes

master
Felix von Leitner 20 years ago
parent b76f4e9bdc
commit 21b86126f7

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