r300g: Fix memory leak on error path.
This commit is contained in:
parent
6383428588
commit
9be40de087
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue