Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fe123dc authored by Liz Kammer's avatar Liz Kammer
Browse files

Close opened paths

Test: m nothing
Change-Id: I7fcc8e2fdbca1cd231ff1e72b02156f12078072b
parent cc1a2062
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -713,6 +713,7 @@ func GetMainClassInManifest(c Config, filepath string) (string, error) {
	if err != nil {
		return "", err
	}
	defer file.Close()
	scanner := bufio.NewScanner(file)
	for scanner.Scan() {
		line := scanner.Text()
+1 −0
Original line number Diff line number Diff line
@@ -378,6 +378,7 @@ func loadSoongConfigModuleTypeDefinition(ctx LoadHookContext, from string) map[s
			ctx.PropertyErrorf("from", "failed to open %q: %s", from, err)
			return (map[string]blueprint.ModuleFactory)(nil)
		}
		defer r.Close()

		mtDef, errs := soongconfig.Parse(r, from)
		if ctx.Config().runningAsBp2Build {