Skip to content
Snippets Groups Projects
Commit 1de1deff authored by Vinson Lee's avatar Vinson Lee
Browse files

i915g: Fix memory leak when pci id is unknown.

parent 7e93e067
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment