summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTim Riker <tim@rikers.org>2002-12-13 22:59:15 +0000
committerTim Riker <tim@rikers.org>2002-12-13 22:59:15 +0000
commit6fe1960ff5e4c7c993a8bc3add5361ee55323afe (patch)
tree5d5088465b6f19bdd560d21693a56630ed1e603e
parent068b6b07ff5dc2dbb513f444cb094197f28e64c5 (diff)
cleanup
-rw-r--r--modutils/lsmod.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index df4b3c16b..d51da2d16 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -169,6 +169,9 @@ extern int lsmod_main(int argc, char **argv)
printf("\n");
}
+#ifdef CONFIG_FEATURE_CLEAN_UP
+ free(module_names);
+#endif
return( 0);
}