diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-11-26 19:05:47 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 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: mesa-stable@lists.freedesktop.org
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
-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); } |