This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

以太网例程中lwip的pbuf_alloc跟pbuf_free函数

使用以太网例程时,在函数中使用pbuf_alloc分配内存后执行发送程序后调用pbuf_free函数似乎不能释放掉原来占用的内存,再次执行pbuf_alloc函数时所申请到的地址会在原来地址的基础上增加”发送字节数+80“, 发送若干包后内存就没有了,进入dabort,这个问题应该如何解决呢?