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

version 1.1.1.2, 2018/04/24 18:23:19 version 1.1.1.3, 2018/04/24 19:16:46
Line 30  QInt *qint_from_int(int64_t value) Line 30  QInt *qint_from_int(int64_t value)
 {  {
     QInt *qi;      QInt *qi;
   
     qi = qemu_malloc(sizeof(*qi));      qi = g_malloc(sizeof(*qi));
     qi->value = value;      qi->value = value;
     QOBJECT_INIT(qi, &qint_type);      QOBJECT_INIT(qi, &qint_type);
   
Line 63  QInt *qobject_to_qint(const QObject *obj Line 63  QInt *qobject_to_qint(const QObject *obj
 static void qint_destroy_obj(QObject *obj)  static void qint_destroy_obj(QObject *obj)
 {  {
     assert(obj != NULL);      assert(obj != NULL);
     qemu_free(qobject_to_qint(obj));      g_free(qobject_to_qint(obj));
 }  }

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


unix.superglobalmegacorp.com