CONFIG->ENABLE migration.

This commit is contained in:
Rob Landley
2006-05-04 19:52:28 +00:00
parent 0c43046fde
commit b1c3fbc677
2 changed files with 13 additions and 21 deletions

View File

@ -184,11 +184,11 @@ int nameif_main(int argc, char **argv)
}
if (ch->next != NULL)
(ch->next)->prev = ch->prev;
#ifdef CONFIG_FEATURE_CLEAN_UP
free(ch->ifname);
free(ch->mac);
free(ch);
#endif
if (ENABLE_FEATURE_CLEAN_UP) {
free(ch->ifname);
free(ch->mac);
free(ch);
}
}
return 0;