projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a47631
)
draw: Fix memory leak.
author
Vinson Lee
<vlee@vmware.com>
Tue, 27 Oct 2009 15:13:27 +0000
(09:13 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 27 Oct 2009 15:14:29 +0000
(09:14 -0600)
This would only be hit if we got and invalid index_size.
src/gallium/auxiliary/draw/draw_pt_vcache.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_pt_vcache.c
b/src/gallium/auxiliary/draw/draw_pt_vcache.c
index 1a0527be63a8380ea9e5962fd7a0d9cf9c71e302..d3f179ced18bb2431d912048825fad787b1f2914 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_pt_vcache.c
+++ b/
src/gallium/auxiliary/draw/draw_pt_vcache.c
@@
-394,6
+394,7
@@
vcache_check_run( struct draw_pt_front_end *frontend,
default:
assert(0);
+ FREE(storage);
return;
}
}
@@
-422,6
+423,7
@@
vcache_check_run( struct draw_pt_front_end *frontend,
default:
assert(0);
+ FREE(storage);
return;
}
}