Revision 487414f1 hw/sun4c_intctl.c

b/hw/sun4c_intctl.c
204 204
    Sun4c_INTCTLState *s;
205 205

  
206 206
    s = qemu_mallocz(sizeof(Sun4c_INTCTLState));
207
    if (!s)
208
        return NULL;
209 207

  
210 208
    sun4c_intctl_io_memory = cpu_register_io_memory(0, sun4c_intctl_mem_read,
211 209
                                                    sun4c_intctl_mem_write, s);

Also available in: Unified diff