diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-29 18:26:42 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-29 18:26:42 +0100 |
commit | 282c183b0207a518bb3be1b65faa5a36d1529fa0 (patch) | |
tree | 5de1d3d56b54940871995b7cec628bb861fdc135 /drivers | |
parent | Merge tag 'gpio-v3.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/lin... (diff) | |
parent | drm/qxl: fix memory leak in release list handling (diff) | |
download | linux-282c183b0207a518bb3be1b65faa5a36d1529fa0.tar.xz linux-282c183b0207a518bb3be1b65faa5a36d1529fa0.zip |
Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux
Pull drm qxl leak fix from Dave Airlie:
"As usual 5 mins after I send a trivial pull fix I find a real bug!
This fixes a memory leak and I'd like to get it into stable queue
asap"
* 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
drm/qxl: fix memory leak in release list handling
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_release.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c index 0109a9644cb2..821ab7b9409b 100644 --- a/drivers/gpu/drm/qxl/qxl_release.c +++ b/drivers/gpu/drm/qxl/qxl_release.c @@ -92,6 +92,7 @@ qxl_release_free(struct qxl_device *qdev, - DRM_FILE_OFFSET); qxl_fence_remove_release(&bo->fence, release->id); qxl_bo_unref(&bo); + kfree(entry); } spin_lock(&qdev->release_idr_lock); idr_remove(&qdev->release_idr, release->id); |