mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 20:40:36 +02:00
i915g: Fix memory leak when pci id is unknown.
This commit is contained in:
parent
7e93e06781
commit
1de1deffce
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ i915_create_screen(struct intel_winsys *iws, uint pci_id)
|
|||
default:
|
||||
debug_printf("%s: unknown pci id 0x%x, cannot create screen\n",
|
||||
__FUNCTION__, pci_id);
|
||||
FREE(is);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue