Revision 7267c094 hw/applesmc.c

b/hw/applesmc.c
170 170
{
171 171
    struct AppleSMCData *def;
172 172

  
173
    def = qemu_mallocz(sizeof(struct AppleSMCData));
173
    def = g_malloc0(sizeof(struct AppleSMCData));
174 174
    def->key = key;
175 175
    def->len = len;
176 176
    def->data = data;

Also available in: Unified diff