diff options
author | Vinson Lee <[email protected]> | 2009-11-06 12:00:14 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2009-11-10 12:39:42 -0800 |
commit | 520b6abdecdaba856e5ca04938e18eb83b33dfaa (patch) | |
tree | 7a7f40c5e41f5051d6422b505d1ba932b7a5a4cd /src/gallium/drivers | |
parent | 56ab92bad8f1d05bc22b8a8471d5aeb663f220de (diff) |
i915g: Fix memory leak when pci id is unknown.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index c66558c320e..d4ee8f5339b 100644 --- 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; } |