cleanup
authorTim Riker <tim@rikers.org>
Fri, 13 Dec 2002 22:59:15 +0000 (22:59 -0000)
committerTim Riker <tim@rikers.org>
Fri, 13 Dec 2002 22:59:15 +0000 (22:59 -0000)
modutils/lsmod.c

index df4b3c16b19298d9c19b6f9bc029b216664e280c..d51da2d1699a4f26de7e739c38b4d740b52f8321 100644 (file)
@@ -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);
 }