Revision 487414f1 hw/sb16.c
b/hw/sb16.c | ||
---|---|---|
1411 | 1411 |
} |
1412 | 1412 |
|
1413 | 1413 |
s = qemu_mallocz (sizeof (*s)); |
1414 |
if (!s) { |
|
1415 |
dolog ("Could not allocate memory for SB16 (%zu bytes)\n", |
|
1416 |
sizeof (*s)); |
|
1417 |
return -1; |
|
1418 |
} |
|
1419 | 1414 |
|
1420 | 1415 |
s->cmd = -1; |
1421 | 1416 |
s->pic = pic; |
Also available in: Unified diff