summaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
authorTim Riker2002-12-13 22:59:15 +0000
committerTim Riker2002-12-13 22:59:15 +0000
commit6fe1960ff5e4c7c993a8bc3add5361ee55323afe (patch)
tree5d5088465b6f19bdd560d21693a56630ed1e603e /modutils/lsmod.c
parent068b6b07ff5dc2dbb513f444cb094197f28e64c5 (diff)
downloadbusybox-6fe1960ff5e4c7c993a8bc3add5361ee55323afe.zip
busybox-6fe1960ff5e4c7c993a8bc3add5361ee55323afe.tar.gz
cleanup
Diffstat (limited to 'modutils/lsmod.c')
-rw-r--r--modutils/lsmod.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index df4b3c1..d51da2d 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);
}