From: Pauli Nieminen Date: Fri, 7 Aug 2009 17:03:26 +0000 (+0300) Subject: libdrm/radeon: Update head of linked list not to point freed memory. X-Git-Tag: submit/1.0/20121108.012404~435 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64cef1e46554fbf82388acfcfc8051ce956a3dc2;p=profile%2Fivi%2Flibdrm.git libdrm/radeon: Update head of linked list not to point freed memory. Signed-off-by: Pauli Nieminen --- diff --git a/libdrm/radeon/radeon_track.c b/libdrm/radeon/radeon_track.c index 1623906..9ab0927 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; }