commit | 457eafce618cf89125da9d79751d81241bd3fa34 | [log] [tgz] |
---|---|---|
author | Rakib Mullick <rakib.mullick@gmail.com> | Wed Nov 16 00:49:28 2011 +0600 |
committer | Keith Packard <keithp@keithp.com> | Thu Nov 17 12:57:45 2011 -0800 |
tree | 135c57845c4197feeb100c467cb2e7a9981b8d9d | |
parent | 9a10f401a401ca69c6537641c8fc0d6b57b5aee8 [diff] |
drm, i915: Fix memory leak in i915_gem_busy_ioctl(). A call to i915_add_request() has been made in function i915_gem_busy_ioctl(). i915_add_request can fail, so in it's exit path previously allocated memory needs to be freed. Signed-off-by: Rakib Mullick <rakib.mullick@gmail.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>