aboutsummaryrefslogtreecommitdiff
path: root/modutils/lsmod.c
diff options
context:
space:
mode:
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 df4b3c16b..d51da2d16 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -169,6 +169,9 @@ extern int lsmod_main(int argc, char **argv)
169 printf("\n"); 169 printf("\n");
170 } 170 }
171 171
172#ifdef CONFIG_FEATURE_CLEAN_UP
173 free(module_names);
174#endif
172 175
173 return( 0); 176 return( 0);
174} 177}