summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-11-22 01:20:07 -0500
committerVinson Lee <[email protected]>2009-11-22 01:20:07 -0500
commitb62a74d3b94024bc08b31394f827761d354d2516 (patch)
tree69307688229d9c8f8ed4423830cb6916dd662959 /src/gallium/winsys
parent88aab56a26dd33a2d3177a41420f00473d7270af (diff)
svga: Fix memory leak in vmw_screen_ioctl.c
Diffstat (limited to 'src/gallium/winsys')
-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 b3515732a21..51e455f9254 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;
}