diff options
author | Thomas Hellstrom <[email protected]> | 2018-11-26 19:05:47 +0100 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2018-11-30 11:10:17 +0100 |
commit | 5df893b13c37b1f40021843cf746a77235b55ed4 (patch) | |
tree | 89add7c439cf0ac00e8fb6681d45be48016bd649 /src | |
parent | 30cebff87d107cb5bf42b0364ae27c7e0381e013 (diff) |
winsys/svga: Fix a memory leak
The ioctl.cap_3d member was never freed.
Cc: [email protected]
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
(cherry picked from commit 058f85d41cbe3534b1a06d321fab9afb8fbadfc0)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_screen_ioctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c b/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c index 16dd5c8593a..0d38b19f4ac 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c +++ b/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c @@ -1082,4 +1082,6 @@ void vmw_ioctl_cleanup(struct vmw_winsys_screen *vws) { VMW_FUNC; + + free(vws->ioctl.cap_3d); } |