Diff for /qemu/qfloat.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2018/04/24 18:24:27 version 1.1.1.3, 2018/04/24 19:17:41
Line 31  QFloat *qfloat_from_double(double value) Line 31  QFloat *qfloat_from_double(double value)
 {  {
     QFloat *qf;      QFloat *qf;
   
     qf = qemu_malloc(sizeof(*qf));      qf = g_malloc(sizeof(*qf));
     qf->value = value;      qf->value = value;
     QOBJECT_INIT(qf, &qfloat_type);      QOBJECT_INIT(qf, &qfloat_type);
   
Line 64  QFloat *qobject_to_qfloat(const QObject  Line 64  QFloat *qobject_to_qfloat(const QObject 
 static void qfloat_destroy_obj(QObject *obj)  static void qfloat_destroy_obj(QObject *obj)
 {  {
     assert(obj != NULL);      assert(obj != NULL);
     qemu_free(qobject_to_qfloat(obj));      g_free(qobject_to_qfloat(obj));
 }  }

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


unix.superglobalmegacorp.com