--nhexbytes;
if (nhexbytes != 0)
break;
-
+
switch (state) {
case read_length:
record = ccdbg_hex_alloc(hex);
goto bail;
if (hex->nrecord == srecord) {
srecord *= 2;
- newhex = realloc(hex,
+ newhex = realloc(hex,
sizeof (struct hex_file) +
srecord * sizeof (struct hex_record *));
if (!newhex)