commit | 8451cc964c1d193b989c41a44e5e77109cc696f8 | [log] [tgz] |
---|---|---|
author | Frediano Ziglio <fziglio@redhat.com> | Wed Jun 03 12:09:10 2015 +0100 |
committer | Dave Airlie <airlied@redhat.com> | Fri Jun 05 11:00:37 2015 +1000 |
tree | bb140e729ab0e97057d4c4f430cf563eee47df6f | |
parent | 2fa19535ca6abcbfd1ccc9ef694db52f49f77747 [diff] |
drm/qxl: Do not leak memory if qxl_release_list_add fails If the function fails reference counter to the object is not decremented causing leaks. This is hard to spot as it happens only on very low memory situations. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Cc: stable@vger.kernel.org Reviewed-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>