lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #28679] mem_realloc calculates mem_stats wrong


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #28679] mem_realloc calculates mem_stats wrong
Date: Mon, 18 Jan 2010 17:00:36 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.7) Gecko/20091221 Firefox/3.5.7

URL:
  <http://savannah.nongnu.org/bugs/?28679>

                 Summary: mem_realloc calculates mem_stats wrong
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Mo 18 Jan 2010 17:00:35 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: CVS Head

    _______________________________________________________

Details:

On jan 18th 2010, kanprin wrote on lwip-users:

in mem.c line 414:MEM_STATS_DEC_USED(used, (size - newsize));
the decrease shoud be done for the first two cases,but not for the third
one.
so MEM_STATS_DEC_USED(used, (size - newsize)); shoud be pleased at line 441
and 462

line numbers seem to be v1.3.2...




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?28679>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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