Changeset efb798e in rtems


Ignore:
Timestamp:
Sep 3, 2015, 8:25:35 PM (4 years ago)
Author:
Martin Galvan <martin.galvan@…>
Branches:
4.11
Children:
ccebc571
Parents:
9e2197d
git-author:
Martin Galvan <martin.galvan@…> (09/03/15 20:25:35)
git-committer:
Joel Sherrill <joel.sherrill@…> (09/03/15 20:43:03)
Message:

cpukit/libnetworking/rtems/rtems_dhcp.c: Fix compilation error

Apparently 'free' is defined as a macro which takes two arguments and calls
rtems_bsdnet_free. When fixing #2405 I added a missing 'free' but didn't notice
it was non-standard.

Closes #2410.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/rtems/rtems_dhcp.c

    r9e2197d refb798e  
    406406          } else {  /* realloc failed */
    407407            printf ("dhcpc: realloc failed (%s:%d)", __FILE__, __LINE__);
    408             free (dhcp_hostname);
     408            free (dhcp_hostname, 0);
    409409            dhcp_hostname = NULL;
    410410          }
Note: See TracChangeset for help on using the changeset viewer.