aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorRafael Mendonca <rafaelmendsr@gmail.com>2022-09-16 17:47:51 -0300
committerZack Rusin <zackr@vmware.com>2022-09-21 12:15:15 -0400
commita40c7f61d12fbd1e785e59140b9efd57127c0c33 (patch)
tree569fa09661ff27d0877b20543d7080f62a02b859 /.gitattributes
parent110ae8a21bbe779a133c1672a1463105c9d50590 (diff)
drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()
If the copy of the description string from userspace fails, then the page for the instance descriptor doesn't get freed before returning -EFAULT, which leads to a memleak. Fixes: 7a7a933edd6c ("drm/vmwgfx: Introduce VMware mks-guest-stats") Signed-off-by: Rafael Mendonca <rafaelmendsr@gmail.com> Reviewed-by: Martin Krastev <krastevm@vmware.com> Signed-off-by: Zack Rusin <zackr@vmware.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220916204751.720716-1-rafaelmendsr@gmail.com
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions