projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d5c524
)
radeon: Fix memory leaks from early return.
author
Vinson Lee
<vlee@vmware.com>
Fri, 12 Mar 2010 05:55:44 +0000
(21:55 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 12 Mar 2010 05:55:44 +0000
(21:55 -0800)
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
b/src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
index cd843d965e5884b443183b3fc1b6f21fe92b83fa..e0e271b7711901e0bb3051fe16b5437316a4e647 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_mipmap_tree.c
@@
-539,6
+539,8
@@
static radeon_mipmap_tree * get_biggest_matching_miptree(radeonTexObj *texObj,
}
if (mtCount == 0) {
+ free(mtSizes);
+ free(mts);
return NULL;
}