diff options
Diffstat (limited to 'src/mesa/main/mm.c')
-rw-r--r-- | src/mesa/main/mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mm.c b/src/mesa/main/mm.c index e5f445889f9..d080d6db1b8 100644 --- a/src/mesa/main/mm.c +++ b/src/mesa/main/mm.c @@ -193,7 +193,7 @@ mmFindBlock(struct mem_block *heap, int start) { struct mem_block *p; - for (p = heap->next_free; p != heap; p = p->next_free) { + for (p = heap->next; p != heap; p = p->next) { if (p->ofs == start) return p; } |