Repository navigation
Commit 457eafc
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>1 parent 9a10f40 commit 457eafc
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3512 | 3512 | | |
3513 | 3513 | | |
3514 | 3514 | | |
3515 | | - | |
| 3515 | + | |
3516 | 3516 | | |
3517 | | - | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
3518 | 3520 | | |
3519 | 3521 | | |
3520 | 3522 | | |
| |||
0 commit comments