Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106962809
D45223.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
386 B
Referenced Files
None
Subscribers
None
D45223.diff
View Options
diff --git a/usr.sbin/bhyve/amd64/e820.c b/usr.sbin/bhyve/amd64/e820.c
--- a/usr.sbin/bhyve/amd64/e820.c
+++ b/usr.sbin/bhyve/amd64/e820.c
@@ -483,6 +483,8 @@
e820_fwcfg_item->size, e820_fwcfg_item->data);
if (error != 0) {
warnx("could not add qemu fwcfg etc/e820");
+ free(e820_fwcfg_item->data);
+ free(e820_fwcfg_item);
return (error);
}
free(e820_fwcfg_item);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 3:59 AM (6 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15729222
Default Alt Text
D45223.diff (386 B)
Attached To
Mode
D45223: bhyve: avoid resource leak in error path
Attached
Detach File
Event Timeline
Log In to Comment