[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] about lwip_close() problem???
From: |
K.J. Mansley |
Subject: |
Re: [lwip-users] about lwip_close() problem??? |
Date: |
20 Sep 2004 17:56:08 +0100 |
On Mon, 2004-09-20 at 08:08, xcb wrote:
>
> mem==NULL;//err_tcp(void *arg, err_t err) -> sys_mbox_post(conn->recvmbox,
> NULL);
> now pbuf_free((struct pbuf *)mem),will cause Assertion "p != NULL" failed at
> line 554 in E:\OS\Net\lwip\source\core\pbuf.c
>
> is it a bug???
> i change code to:
> if(mem!=NULL)
> pbuf_free((struct pbuf *)mem);
Thanks for reporting: it does look like a bug as it is valid for
sys_arch_mbox_fetch to return a NULL pointer, so I'll check in your
suggested fix.
Kieran