projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e93e06
)
i915g: Fix memory leak when pci id is unknown.
author
Vinson Lee
<vlee@vmware.com>
Tue, 8 Dec 2009 08:43:38 +0000
(
00:43
-0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 8 Dec 2009 08:43:38 +0000
(
00:43
-0800)
src/gallium/drivers/i915simple/i915_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915simple/i915_screen.c
b/src/gallium/drivers/i915simple/i915_screen.c
index 9f017a14cca07595e55b6c80055e8cd472df454a..9557c80ce1229663407bd166ab868a89fbdf72a7 100644
(file)
--- a/
src/gallium/drivers/i915simple/i915_screen.c
+++ b/
src/gallium/drivers/i915simple/i915_screen.c
@@
-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;
}