summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_list.c b/src/mesa/drivers/dri/r300/compiler/radeon_list.c
index 9b2ba80a8fa..811c908a81a 100644
--- a/src/mesa/drivers/dri/r300/compiler/radeon_list.c
+++ b/src/mesa/drivers/dri/r300/compiler/radeon_list.c
@@ -38,6 +38,8 @@ struct rc_list * rc_list(struct memory_pool * pool, void * item)
new->Item = item;
new->Next = NULL;
new->Prev = NULL;
+
+ return new;
}
void rc_list_add(struct rc_list ** list, struct rc_list * new_value)