[bug #27994] incorrect define for freeaddrinfo(addrinfo)

View: New views
2 Messages — Rating Filter:   Alert me  

[bug #27994] incorrect define for freeaddrinfo(addrinfo)

by anonymous-98 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

                 Summary: incorrect define for freeaddrinfo(addrinfo)
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: albertb
            Submitted on: Mi 11 Nov 2009 12:02:38 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release:
            lwIP version: CVS Head

    _______________________________________________________

Details:

Small bug in netdb.h:

#define freeaddrinfo(addrinfo) lwip_freeaddrinfo(a)

should be

#define freeaddrinfo(addrinfo) lwip_freeaddrinfo(addrinfo)

otherwise the allocated memory will not be freed if freeaddrinfo is used.





    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
lwip-devel mailing list
lwip-devel@...
http://lists.nongnu.org/mailman/listinfo/lwip-devel

[bug #27994] incorrect define for freeaddrinfo(addrinfo)

by anonymous-98 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Update of bug #27994 (project lwip):

                  Status:                    None => Fixed                  
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

Fixed, thanks.

    _______________________________________________________

Reply to this item at:

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

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



_______________________________________________
lwip-devel mailing list
lwip-devel@...
http://lists.nongnu.org/mailman/listinfo/lwip-devel