Revision 7267c094 qint.c

b/qint.c
30 30
{
31 31
    QInt *qi;
32 32

  
33
    qi = qemu_malloc(sizeof(*qi));
33
    qi = g_malloc(sizeof(*qi));
34 34
    qi->value = value;
35 35
    QOBJECT_INIT(qi, &qint_type);
36 36

  
......
63 63
static void qint_destroy_obj(QObject *obj)
64 64
{
65 65
    assert(obj != NULL);
66
    qemu_free(qobject_to_qint(obj));
66
    g_free(qobject_to_qint(obj));
67 67
}

Also available in: Unified diff