X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fmultilink.c;h=3aee0bcf6876686e73599835c483a1d585824cba;hb=57edb1a0ebf3e25d824b22c75d1d95e0f378f74a;hp=eb4074d905b395bf52db30e605bc01f457a3c531;hpb=56371803b11c557e07ae968bef34b178b518139d;p=ppp.git diff --git a/pppd/multilink.c b/pppd/multilink.c index eb4074d..3aee0bc 100644 --- a/pppd/multilink.c +++ b/pppd/multilink.c @@ -445,13 +445,9 @@ get_default_epdisc(ep) if (p != 0 && get_if_hwaddr(ep->value, p) >= 0) { ep->class = EPD_MAC; ep->length = 6; - free(p); return 1; } - if (p) - free(p); - /* see if our hostname corresponds to a reasonable IP address */ hp = gethostbyname(hostname); if (hp != NULL) {