Revision 487414f1 hw/cs4231a.c
b/hw/cs4231a.c | ||
---|---|---|
647 | 647 |
} |
648 | 648 |
|
649 | 649 |
s = qemu_mallocz (sizeof (*s)); |
650 |
if (!s) { |
|
651 |
lerr ("Could not allocate memory for cs4231a (%zu bytes)\n", |
|
652 |
sizeof (*s)); |
|
653 |
return -1; |
|
654 |
} |
|
655 | 650 |
|
656 | 651 |
s->pic = pic; |
657 | 652 |
s->irq = conf.irq; |
Also available in: Unified diff