projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d56e465
)
r600g: Fix memory leak on error path.
author
Vinson Lee
<vlee@vmware.com>
Fri, 17 Sep 2010 21:17:26 +0000
(14:17 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 17 Sep 2010 21:17:26 +0000
(14:17 -0700)
src/gallium/winsys/r600/drm/r600_state2.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/r600_state2.c
b/src/gallium/winsys/r600/drm/r600_state2.c
index e33b63d405b35456deed480a5a97eebcbe682f57..b3d618748d197c0327cec9098b0476a6c33551f1 100644
(file)
--- a/
src/gallium/winsys/r600/drm/r600_state2.c
+++ b/
src/gallium/winsys/r600/drm/r600_state2.c
@@
-984,7
+984,7
@@
void r600_context_dump_bof(struct r600_context *ctx, const char *file)
goto out_err;
device_id = bof_int32(ctx->radeon->device);
if (device_id == NULL)
-
return
;
+
goto out_err
;
if (bof_object_set(root, "device_id", device_id))
goto out_err;
bof_decref(device_id);