summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2009-11-22 01:20:07 -0500
committerVinson Lee <vlee@vmware.com>2009-11-22 01:20:07 -0500
commitb62a74d3b94024bc08b31394f827761d354d2516 (patch)
tree69307688229d9c8f8ed4423830cb6916dd662959 /src
parent88aab56a26dd33a2d3177a41420f00473d7270af (diff)
svga: Fix memory leak in vmw_screen_ioctl.c
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c b/src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c
index b3515732a2..51e455f925 100644
--- a/src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c
+++ b/src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c
@@ -331,6 +331,7 @@ vmw_ioctl_region_create(struct vmw_winsys_screen *vws, uint32_t size)
return region;
out_err1:
+ FREE(region);
return NULL;
}