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 83380e8..98bda48 100644 (file)
@@ -315,7 +315,6 @@ static int scan_module_folder(void)
        }
 
        globfree(&gl);
        }
 
        globfree(&gl);
-       free(path);
 
        return 0;
 }
 
        return 0;
 }