From: Vinson Lee Date: Sun, 22 Nov 2009 06:20:07 +0000 (-0500) Subject: svga: Fix memory leak in vmw_screen_ioctl.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b62a74d3b94024bc08b31394f827761d354d2516;p=mesa.git svga: Fix memory leak in vmw_screen_ioctl.c --- 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; }