mirror of
https://codeberg.org/Limine/Limine
synced 2026-01-26 13:14:28 +00:00
edid: Fix memory leak on UEFI error path
This commit is contained in:
parent
db69f0d4c3
commit
96d9167bc3
@ -73,6 +73,7 @@ struct edid_info_struct *get_edid_info(EFI_HANDLE gop_handle) {
|
||||
goto success;
|
||||
|
||||
fail:
|
||||
pmm_free(buf, sizeof(struct edid_info_struct));
|
||||
printv("edid: Could not fetch EDID data.\n");
|
||||
return NULL;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user