kmodloader: don't free memory allocated with alloca()
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 5 Sep 2013 15:21:09 +0000 (17:21 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 5 Sep 2013 15:21:09 +0000 (17:21 +0200)
kmodloader.c

index 83380e80e57e867d161cf7022caad5a0e643cb62..98bda48b506357b66e3d0fef4aa06f52edfb0c20 100644 (file)
@@ -315,7 +315,6 @@ static int scan_module_folder(void)
        }
 
        globfree(&gl);
-       free(path);
 
        return 0;
 }