Index: head/usr.sbin/ppp/iface.c =================================================================== --- head/usr.sbin/ppp/iface.c +++ head/usr.sbin/ppp/iface.c @@ -145,6 +145,7 @@ iface = (struct iface *)malloc(sizeof *iface); if (iface == NULL) { fprintf(stderr, "iface_Create: malloc: %s\n", strerror(errno)); + free(buf); return NULL; } iface->name = strdup(name);