mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
r300g: Fix memory leak on error path.
This commit is contained in:
parent
6383428588
commit
9be40de087
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue