diff options
author | Rob Landley <rob@landley.net> | 2006-05-04 23:52:28 +0400 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-05-04 23:52:28 +0400 |
commit | b1c3fbc6776db1b85ec1d5028f76129bbae43e22 (patch) | |
tree | 202bae5682c8ce74a12b78b0eade275a4554689b /networking/nameif.c | |
parent | 0c43046fdeee696491d5d3c89760ae98416f9505 (diff) |
CONFIG->ENABLE migration.
Diffstat (limited to 'networking/nameif.c')
-rw-r--r-- | networking/nameif.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/nameif.c b/networking/nameif.c index f28e5ebe3..8590a98ad 100644 --- a/networking/nameif.c +++ b/networking/nameif.c @@ -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; |