projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ab92b
)
i915g: Fix memory leak when pci id is unknown.
author
Vinson Lee
<vlee@vmware.com>
Fri, 6 Nov 2009 20:00:14 +0000
(12:00 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 10 Nov 2009 20:39:42 +0000
(12:39 -0800)
src/gallium/drivers/i915/i915_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i915/i915_screen.c
b/src/gallium/drivers/i915/i915_screen.c
index c66558c320eb0f87a7e989a7fe527b9772a4f7b8..d4ee8f5339bd8d1d1d274dfcdfbc3035066be871 100644
(file)
--- a/
src/gallium/drivers/i915/i915_screen.c
+++ b/
src/gallium/drivers/i915/i915_screen.c
@@
-271,6
+271,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;
}