Diff for /qemu/libcacard/event.c between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2018/04/24 19:03:08 version 1.1.1.2, 2018/04/24 19:31:36
Line 17  vevent_new(VEventType type, VReader *rea Line 17  vevent_new(VEventType type, VReader *rea
 {  {
     VEvent *new_vevent;      VEvent *new_vevent;
   
     new_vevent = (VEvent *)qemu_malloc(sizeof(VEvent));      new_vevent = (VEvent *)g_malloc(sizeof(VEvent));
     new_vevent->next = NULL;      new_vevent->next = NULL;
     new_vevent->type = type;      new_vevent->type = type;
     new_vevent->reader = vreader_reference(reader);      new_vevent->reader = vreader_reference(reader);
Line 34  vevent_delete(VEvent *vevent) Line 34  vevent_delete(VEvent *vevent)
     }      }
     vreader_free(vevent->reader);      vreader_free(vevent->reader);
     vcard_free(vevent->card);      vcard_free(vevent->card);
     qemu_free(vevent);      g_free(vevent);
 }  }
   
 /*  /*

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


unix.superglobalmegacorp.com