summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/winsys/r600/drm/radeon_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/r600/drm/radeon_state.c b/src/gallium/winsys/r600/drm/radeon_state.c
index b237b39c2b1..c7aa73c8d4e 100644
--- a/src/gallium/winsys/r600/drm/radeon_state.c
+++ b/src/gallium/winsys/r600/drm/radeon_state.c
@@ -137,7 +137,7 @@ void radeon_state_fini(struct radeon_state *state)
unsigned i;
if (state == NULL)
- return NULL;
+ return;
for (i = 0; i < state->nbo; i++) {
radeon_ws_bo_reference(state->radeon, &state->bo[i], NULL);
}