diff options
author | Vinson Lee <[email protected]> | 2009-12-08 00:43:38 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-12-08 00:43:38 -0800 |
commit | 1de1deffce9c7120a167af8553b606eec82e60a3 (patch) | |
tree | 9256461f7e3f89c1b4ec0934d4e84a4762777097 /src/gallium | |
parent | 7e93e06781d2f3e0c737c7654c3fb0d83e31e45a (diff) |
i915g: Fix memory leak when pci id is unknown.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915simple/i915_screen.c b/src/gallium/drivers/i915simple/i915_screen.c index 9f017a14cca..9557c80ce12 100644 --- 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; } |