Currently we hold a lot of heap allocated pointers which we're just dropping on the floor when done with them. To fix that we should expose a type called EfiBox which is very similar to Box, but is guaranteed to go through our allocator or call UEFI's FreePool directly even. Will have to decide how much Boxs API surface we should copy.
Currently we hold a lot of heap allocated pointers which we're just dropping on the floor when done with them. To fix that we should expose a type called
EfiBoxwhich is very similar toBox, but is guaranteed to go through our allocator or call UEFI'sFreePooldirectly even. Will have to decide how muchBoxs API surface we should copy.