lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] [lwip] mem_realloc bug?


From: Earle Clubb
Subject: [lwip-users] [lwip] mem_realloc bug?
Date: Thu, 09 Jan 2003 01:34:43 -0000

I noticed that if mem_realloc() in mem.c is called in an attempt to increase
the size of a given memory block, mem_realloc does nothing and returns no
errors.  Is this a bug or is it there by design?

1) Why doesn't mem_realloc have the capability to increase the size of a
memory block?

2) Is there a reason why it should not be added?

3) I believe that an error should be returned if mem_realloc cannot
accomodate the requested new size.


Earle Clubb

Software Engineer
Valcom, Inc.

E-mail: address@hidden
Voice: (540) 563-2000 ext.253

[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]