Skip to content
Commit 457eafce authored by Rakib Mullick's avatar Rakib Mullick Committed by Keith Packard
Browse files

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: default avatarRakib Mullick <rakib.mullick@gmail.com>
Reviewed-by: default avatarKeith Packard <keithp@keithp.com>
Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 9a10f401
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment