projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88aab56
)
svga: Fix memory leak in vmw_screen_ioctl.c
author
Vinson Lee
<vlee@vmware.com>
Sun, 22 Nov 2009 06:20:07 +0000
(
01:20
-0500)
committer
Vinson Lee
<vlee@vmware.com>
Sun, 22 Nov 2009 06:20:07 +0000
(
01:20
-0500)
src/gallium/winsys/drm/vmware/core/vmw_screen_ioctl.c
patch
|
blob
|
history
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 b3515732a21d4db25ccda68bf5e661f89dbd532a..51e455f925406878068e6363443514b2e521913d 100644
(file)
--- 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;
}