projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6383428
)
r300g: Fix memory leak on error path.
author
Vinson Lee
<vlee@vmware.com>
Thu, 10 Jun 2010 07:33:25 +0000
(
00:33
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Thu, 10 Jun 2010 07:33:25 +0000
(
00:33
-0700)
src/gallium/drivers/r300/r300_transfer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_transfer.c
b/src/gallium/drivers/r300/r300_transfer.c
index
f0b5e96
..
4f37fab
100644
(file)
--- a/
src/gallium/drivers/r300/r300_transfer.c
+++ b/
src/gallium/drivers/r300/r300_transfer.c
@@
-181,6
+181,7
@@
r300_texture_get_transfer(struct pipe_context *ctx,
/* Otherwise, go to hell. */
fprintf(stderr,
"r300: Failed to create a transfer object, praise.\n");
+ FREE(trans);
return NULL;
}
}