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

Commit d4d1ef45 authored by Tony Luck's avatar Tony Luck Committed by Mauro Carvalho Chehab
Browse files

i7core_edac: don't free on success

parent ac1ecece
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1856,6 +1856,7 @@ static int i7core_register_mci(struct i7core_dev *i7core_dev,
	}

fail:
	if (rc < 0)
		edac_mc_free(mci);
	return rc;
}