Page MenuHomeFreeBSD

D7497.diff
No OneTemporary

D7497.diff

Index: head/sys/boot/efi/boot1/boot1.c
===================================================================
--- head/sys/boot/efi/boot1/boot1.c
+++ head/sys/boot/efi/boot1/boot1.c
@@ -78,7 +78,8 @@
void
Free(void *buf, const char *file __unused, int line __unused)
{
- (void)bs->FreePool(buf);
+ if (buf != NULL)
+ (void)bs->FreePool(buf);
}
/*

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 29, 10:41 AM (11 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34457332
Default Alt Text
D7497.diff (352 B)

Event Timeline