]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
While I was investigating CID 1194192 related with a resource leak on mrp memory
authoraraujo <araujo@FreeBSD.org>
Wed, 13 Jun 2018 11:49:34 +0000 (11:49 +0000)
committeraraujo <araujo@FreeBSD.org>
Wed, 13 Jun 2018 11:49:34 +0000 (11:49 +0000)
commit46169e10ff102ea88bd29d38806efc717cdf5f3d
tree0a122ad3bdf060b0f6e5f66d8bc9819c24d502a6
parent16ccb6ab9a97cfdd249efe9df736f5f5424a5fcb
While I was investigating CID 1194192 related with a resource leak on mrp memory
allocation, I could identify that actually we use this pointer on pci_emul.c as
well as on vga.c source file.

I have reworked the logic here to make it more readable and also add a warn to
explicit show the function where the memory allocation error could happen,
also sort headers.

Also CID 1194192 was marked as "Intentional".

Obtained from: TrueOS
MFC after: 4 weeks.
Sponsored by: iXsystems Inc.
usr.sbin/bhyve/mem.c