+2004-03-21 Ken Raeburn <raeburn@mit.edu>
+
+ * t_crc.c (timetest): Free 'block' before returning.
+ (verify): Fix minor type error in call to gethexstr.
+
2004-02-18 Ken Raeburn <raeburn@mit.edu>
* crc32.c: Use ANSI C style function definitions.
(long)(after.tms_cutime - before.tms_cutime),
(long)(after.tms_cstime - before.tms_cstime));
#endif
+ free(block);
}
static void gethexstr(char *data, size_t *outlen, unsigned char *outbuf,
break;
case HEX:
typestr = "HEX";
- gethexstr(trial.data, &len, &buf, 4);
+ gethexstr(trial.data, &len, buf, 4);
mit_crc32(buf, len, &cksum);
break;
default: