diff options
author | Thomas Hellstrom <[email protected]> | 2018-11-26 19:05:47 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2018-11-29 10:42:06 +0100 |
commit | 058f85d41cbe3534b1a06d321fab9afb8fbadfc0 (patch) | |
tree | 9b0db627669adec678789de80c4c01ffefd71fe7 | |
parent | 7fce3ca3759e2e156e2e3bf1bcc4ee378dc7fa2d (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]>
-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 739e4ea131f..0ec8c1abe11 100644 --- a/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c +++ b/src/gallium/winsys/svga/drm/vmw_screen_ioctl.c @@ -1198,4 +1198,6 @@ void vmw_ioctl_cleanup(struct vmw_winsys_screen *vws) { VMW_FUNC; + + free(vws->ioctl.cap_3d); } |