aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/cpus.py
diff options
context:
space:
mode:
authorRafael Mendonca <[email protected]>2022-09-16 17:47:51 -0300
committerZack Rusin <[email protected]>2022-09-21 12:15:15 -0400
commita40c7f61d12fbd1e785e59140b9efd57127c0c33 (patch)
tree569fa09661ff27d0877b20543d7080f62a02b859 /scripts/gdb/linux/cpus.py
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 <[email protected]> Reviewed-by: Martin Krastev <[email protected]> Signed-off-by: Zack Rusin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions