projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup
[oweals/busybox.git]
/
modutils
/
lsmod.c
diff --git
a/modutils/lsmod.c
b/modutils/lsmod.c
index df4b3c16b19298d9c19b6f9bc029b216664e280c..d51da2d1699a4f26de7e739c38b4d740b52f8321 100644
(file)
--- 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);
}