nv50/ir: Fix Interval::clear().
authorFrancisco Jerez <currojerez@riseup.net>
Tue, 15 Nov 2011 00:50:58 +0000 (01:50 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 14 Apr 2012 19:53:59 +0000 (21:53 +0200)
src/gallium/drivers/nv50/codegen/nv50_ir_util.cpp

index 1266cbe78f625a9a1c440ff96b869fb0f289f619..56d53b48ddd4a5dabcaed00df506632e6a0fb50a 100644 (file)
@@ -100,6 +100,7 @@ Interval::clear()
       next = r->next;
       delete r;
    }
+   head = tail = NULL;
 }
 
 bool