Revision 7267c094 hw/ppc440_bamboo.c

b/hw/ppc440_bamboo.c
49 49
        goto out;
50 50
    }
51 51
    fdt = load_device_tree(filename, &fdt_size);
52
    qemu_free(filename);
52
    g_free(filename);
53 53
    if (fdt == NULL) {
54 54
        goto out;
55 55
    }
......
80 80
        kvmppc_fdt_update(fdt);
81 81

  
82 82
    ret = rom_add_blob_fixed(BINARY_DEVICE_TREE_FILE, fdt, fdt_size, addr);
83
    qemu_free(fdt);
83
    g_free(fdt);
84 84

  
85 85
out:
86 86
#endif

Also available in: Unified diff