We now pass the POOL_QALIGN flag to pool_create(). Also optimized
[rsync/rsync.git] / lib / pool_alloc.c
index e1ce50b..0fb3122 100644 (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;