Revision 2137b4cc hw/rtl8139.c

b/hw/rtl8139.c
2001 2001
    while (s->cplus_txbuffer && s->cplus_txbuffer_offset + txsize >= s->cplus_txbuffer_len)
2002 2002
    {
2003 2003
        s->cplus_txbuffer_len += CP_TX_BUFFER_SIZE;
2004
        s->cplus_txbuffer = realloc(s->cplus_txbuffer, s->cplus_txbuffer_len);
2004
        s->cplus_txbuffer = qemu_realloc(s->cplus_txbuffer, s->cplus_txbuffer_len);
2005 2005

  
2006 2006
        DEBUG_PRINT(("RTL8139: +++ C+ mode transmission buffer space changed to %d\n", s->cplus_txbuffer_len));
2007 2007
    }

Also available in: Unified diff