]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
We only ever need one devinfo per handle. So allocate it outside of
authorimp <imp@FreeBSD.org>
Mon, 6 May 2019 18:39:22 +0000 (18:39 +0000)
committerimp <imp@FreeBSD.org>
Mon, 6 May 2019 18:39:22 +0000 (18:39 +0000)
commit44c35a84466c75d9aa2413143d931a4e4b2b9a5a
tree62b422b3aae8fdf3f1e6f8cacf16b793dd88e479
parent7131ecd11a57333f0fec8e041b90ef461f83f9a2
We only ever need one devinfo per handle. So allocate it outside of
looping over the filesystem modules rather than doing a malloc + free
each time through the loop. In addition, nothing changes from loop to
loop, so setup the new devinfo outside the loop as well.
stand/efi/boot1/boot1.c