Revision 487414f1 hw/cs4231.c

b/hw/cs4231.c
171 171
    CSState *s;
172 172

  
173 173
    s = qemu_mallocz(sizeof(CSState));
174
    if (!s)
175
        return;
176 174

  
177 175
    cs_io_memory = cpu_register_io_memory(0, cs_mem_read, cs_mem_write, s);
178 176
    cpu_register_physical_memory(base, CS_SIZE, cs_io_memory);

Also available in: Unified diff