summaryrefslogtreecommitdiff
path: root/libdrm/radeon
diff options
context:
space:
mode:
authorPauli Nieminen <suokkos@gmail.com>2009-08-07 20:03:26 +0300
committerAlex Deucher <alexdeucher@gmail.com>2009-08-18 14:52:43 -0400
commit64cef1e46554fbf82388acfcfc8051ce956a3dc2 (patch)
tree7555c8f4725cfe12da75d7b274f63146c022f7fb /libdrm/radeon
parent28f4bfa04b8ad4dfcc55027f4b2385f4dd6c23c5 (diff)
libdrm/radeon: Update head of linked list not to point freed memory.
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
Diffstat (limited to 'libdrm/radeon')
-rw-r--r--libdrm/radeon/radeon_track.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdrm/radeon/radeon_track.c b/libdrm/radeon/radeon_track.c
index 1623906f..9ab09275 100644
--- a/libdrm/radeon/radeon_track.c
+++ b/libdrm/radeon/radeon_track.c
@@ -137,4 +137,5 @@ void radeon_tracker_print(struct radeon_tracker *tracker, FILE *file)
track = track->next;
free(tmp);
}
+ tracker->tracks.next = NULL;
}