Revision 7267c094 hw/mips_jazz.c
b/hw/mips_jazz.c | ||
---|---|---|
158 | 158 |
if (filename) { |
159 | 159 |
bios_size = load_image_targphys(filename, 0xfff00000LL, |
160 | 160 |
MAGNUM_BIOS_SIZE); |
161 |
qemu_free(filename);
|
|
161 |
g_free(filename);
|
|
162 | 162 |
} else { |
163 | 163 |
bios_size = -1; |
164 | 164 |
} |
... | ... | |
207 | 207 |
for (n = 0; n < nb_nics; n++) { |
208 | 208 |
nd = &nd_table[n]; |
209 | 209 |
if (!nd->model) |
210 |
nd->model = qemu_strdup("dp83932");
|
|
210 |
nd->model = g_strdup("dp83932");
|
|
211 | 211 |
if (strcmp(nd->model, "dp83932") == 0) { |
212 | 212 |
dp83932_init(nd, 0x80001000, 2, rc4030[4], |
213 | 213 |
rc4030_opaque, rc4030_dma_memory_rw); |
Also available in: Unified diff