In pool_free_old(), one code path was not clearing a "next" pointer,

so the code could try to free an extent twice in certain circumstances.
This commit is contained in:
Wayne Davison
2007-08-21 05:04:02 +00:00
parent a0f70237f5
commit 65a22a5ff7

View File

@@ -255,6 +255,7 @@ pool_free_old(alloc_pool_t p, void *addr)
cur->free -= skew;
}
next = cur->next;
cur->next = NULL;
}
} else {
next = cur->next;