diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-06-22 22:13:33 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2010-06-22 22:49:13 -0700 |
commit | 75612aa19946c6e546ff72b83d0e1bbe4db90db2 (patch) | |
tree | 49161f67c531945476d973c416eda2ba640bf328 /src/gallium/drivers/galahad/glhd_objects.c | |
parent | 40faedfe7b4c17bc62da4c5f661fac3cc292082d (diff) |
id, glhd: Fix segfault with misreferenced pipe member.
And remove the offending member to keep that from happening again.
Diffstat (limited to 'src/gallium/drivers/galahad/glhd_objects.c')
-rw-r--r-- | src/gallium/drivers/galahad/glhd_objects.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/galahad/glhd_objects.c b/src/gallium/drivers/galahad/glhd_objects.c index cea32d7ffe..4682d717d8 100644 --- a/src/gallium/drivers/galahad/glhd_objects.c +++ b/src/gallium/drivers/galahad/glhd_objects.c @@ -180,7 +180,7 @@ galahad_transfer_destroy(struct galahad_context *glhd_context, struct galahad_transfer *glhd_transfer) { pipe_resource_reference(&glhd_transfer->base.resource, NULL); - glhd_transfer->pipe->transfer_destroy(glhd_context->pipe, - glhd_transfer->transfer); + glhd_context->pipe->transfer_destroy(glhd_context->pipe, + glhd_transfer->transfer); FREE(glhd_transfer); } |