[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-devel] uncovered logic branches in mem_malloc(mem_size_t size)
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-devel] uncovered logic branches in mem_malloc(mem_size_t size) |
Date: |
Fri, 17 Mar 2017 14:49:56 +0100 |
Hi rukhlins,
rukhlins wrote:
> There is no condition about next mem-structure is not used when we try to
> place data in current mem-structure.
> The logic could be simplified a lot if we would delete mem structure in
> mem_free()-function from the linked list.
I'm not sure I fully understood. But did you have a look at 'plug_holse()'?
I think it might do what you were looking for.
Simon