Revision 2bc6f59b
b/hw/rtl8139.c | ||
---|---|---|
1985 | 1985 |
if (!s->cplus_txbuffer) |
1986 | 1986 |
{ |
1987 | 1987 |
s->cplus_txbuffer_len = CP_TX_BUFFER_SIZE; |
1988 |
s->cplus_txbuffer = malloc(s->cplus_txbuffer_len); |
|
1988 |
s->cplus_txbuffer = qemu_malloc(s->cplus_txbuffer_len);
|
|
1989 | 1989 |
s->cplus_txbuffer_offset = 0; |
1990 | 1990 |
|
1991 | 1991 |
DEBUG_PRINT(("RTL8139: +++ C+ mode transmission buffer allocated space %d\n", s->cplus_txbuffer_len)); |
... | ... | |
2300 | 2300 |
} |
2301 | 2301 |
else |
2302 | 2302 |
{ |
2303 |
free(saved_buffer); |
|
2303 |
qemu_free(saved_buffer);
|
|
2304 | 2304 |
} |
2305 | 2305 |
} |
2306 | 2306 |
else |
Also available in: Unified diff